Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSLT 1.0: Cannot use schema, phase, or pattern variables in a rule context expression #138

Open
dmj opened this issue Aug 29, 2020 · 0 comments
Labels
bug Something isn't working xslt1

Comments

@dmj
Copy link
Member

dmj commented Aug 29, 2020

Schematron rules are implemented as template rules. As pre XSLT 1.0 specification the @‍match attribute may not contain a variable reference.

A template rule is specified with the xsl:template element. The match attribute is a Pattern that identifies the source node or nodes to which the rule applies. The match attribute is required unless the xsl:template element has a name attribute (see [6 Named Templates]). It is an error for the value of the match attribute to contain a VariableReference. The content of the xsl:template element is the template that is instantiated when the template rule is applied.

@dmj dmj added bug Something isn't working xslt1 labels Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working xslt1
Projects
None yet
Development

No branches or pull requests

1 participant