Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Default value for the "only-child-elements" parameter #45

Open
octavianN opened this issue May 3, 2017 · 1 comment
Open

Default value for the "only-child-elements" parameter #45

octavianN opened this issue May 3, 2017 · 1 comment
Labels
review wanted Needs review before acceptance

Comments

@octavianN
Copy link

In the iso_schematron_skeleton_for_saxon.xsl stylesset the default value for the only-child-elements parameter is set to true if there is a rule context attribute that contains contains ( character.
I think the default should be set to false in this case, otherwise if you have a rule with context="comment()" the rule will never be matched. If the only-child-elements="true" the context-xpath variable will be *.

@AndrewSales
Copy link

In contrast to #46, this does appear to be an implementation-specific configuration option.

@tgraham-antenna tgraham-antenna added the review wanted Needs review before acceptance label Feb 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
review wanted Needs review before acceptance
Projects
None yet
Development

No branches or pull requests

3 participants