Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Creates invalid stylesheet if a phase binds a variable with the same name as a global variable #79

Open
dmj opened this issue Feb 9, 2019 · 0 comments
Labels
bug Description of a bug

Comments

@dmj
Copy link
Member

dmj commented Feb 9, 2019

Given the following Schematron:

<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2" defaultPhase="foobar">
  <let name="foobar" value="'...'"/>
  <phase id="foobar">
    <let name="foobar" value="'xxx'"/>
    <active pattern="foobar"/>
  </phase>
  <pattern id="foobar">
    <rule context="*">
      <assert test="false()"/>
    </rule>
  </pattern>
</schema>```

The Skeleton creates an invalid stylesheet. The root cause is the same problem as in #76.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Description of a bug
Projects
None yet
Development

No branches or pull requests

2 participants