You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In universalTests2.sch it says: "The result of running this should be four assertion messages: U7, U8, U9, and U10 only."
schematron-sch results in these four assertion messages.
schematron-pure results in 8 assertion messages:
U5: This assertion should never succeed because the rule should never fire.
U6: This report should never succeed because the rule should never fire.
U7: This assertion should always fail.
U8: This report should always succeed.
U9: This assertion should always fail.
U10: This report should always succeed.
U11: This assertion should never succeed because the rule should never fire.
U12: This report should never succeeed because the rule should never fire.
The text was updated successfully, but these errors were encountered:
Yes indeed it's a duplicate of this issue. The reason is the different resolution model in pure - it does NOT follow the "XSLT way" by visiting each element just once. Instead it behaves like each rule is independent from the pattern it is used in.
Maybe we should really define a separate query binding "java-pure" to solve all these incompatibilities...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
ph-schematron-testfiles; external/test-sch/universalTests2.sch; external/test-xml/valid03.xml
In universalTests2.sch it says: "The result of running this should be four assertion messages: U7, U8, U9, and U10 only."
schematron-sch results in these four assertion messages.
schematron-pure results in 8 assertion messages:
U5: This assertion should never succeed because the rule should never fire.
U6: This report should never succeed because the rule should never fire.
U7: This assertion should always fail.
U8: This report should always succeed.
U9: This assertion should always fail.
U10: This report should always succeed.
U11: This assertion should never succeed because the rule should never fire.
U12: This report should never succeeed because the rule should never fire.
The text was updated successfully, but these errors were encountered: