-
Notifications
You must be signed in to change notification settings - Fork 36
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
Picking up variables in 'let' schematron statements #36
Labels
Comments
Referring to issue #17 - right? |
The problem is with abstract rules Example schematron
Example XML |
Here is a simpler version <?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://purl.oclc.org/dsdl/schematron">
<pattern>
<rule abstract="true" id="my-abstract-rule">
<let name="my-root-variable" value="'root'"/>
<assert role="error" test="$my-root-variable = @value">@value must be 'root'</assert>
</rule>
<rule context="root">
<extends rule="my-abstract-rule"/>
</rule>
</pattern>
</schema> <root value="root"/> |
It's a problem with the pure implementation... working on it. |
Now also works in "pure" version |
Release 4.2.2. should be on Maven central within the next hour |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that the declared variables in 'let statements' are not picked up and exploded in the 'assert statements'
The text was updated successfully, but these errors were encountered: