This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
Does not validate if rule context is a processing instruction or comment #71
Labels
bug
Description of a bug
The variable 'only-child-elements' is calculated wrongly:
https://github.com/Schematron/schematron/blob/master/trunk/schematron/code/iso_schematron_skeleton_for_saxon.xsl#L486
If @context contains a paren then only-child-elements should be false, not true.
This is convered by https://github.com/dmj/schematron-test/blob/t/more-tests/rule/rule-context-01.xspec
The text was updated successfully, but these errors were encountered: