Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.
This repository was 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

@dmj

Description

@dmj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDescription of a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions