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

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

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

Comments

Projects
None yet
2 participants
@octavianN
Copy link

commented May 3, 2017

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

This comment has been minimized.

Copy link

commented May 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.