-
Notifications
You must be signed in to change notification settings - Fork 21
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
Why is queryBinding default "xslt", instead of "xslt2" for 2.0 implementation? #288
Comments
The default value of the queryBinding attribute defined to be 'xslt'. SchXslt implements the ISO specification very strictly. |
Does this mean that I should use the 1.0 stylesheets if there is no queryBinding attribute, or queryBinding="xslt"? |
Yes, this is the way it should be done. See also #292 that when implemented would give you the option to specify a different default value. There's also Schematron/schematron-enhancement-proposals#28 that discusses this in the wider context of a potential 4th revision of the specification. |
I didn't know that. Thanks for clearing that up.
…On Fri, Sep 30, 2022 at 1:46 PM David Maus ***@***.***> wrote:
Yes, this is the way it should be done. See also #292
<#292> that when implemented
would give you the option to specify a different default value.
There's also Schematron/schematron-enhancement-proposals#28
<Schematron/schematron-enhancement-proposals#28>
that discusses this in the wider context of a potential 4th revision of the
specification.
—
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCGIDYTCVIQHLPASHHX5SDWA3HHZANCNFSM6AAAAAAQWPUQCQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am using the latest "Source Code" stylesheets.
My Schematron is like this (nothing special):
If I run the 1.0 XSLT stylesheet "compile-for-svrl.xsl" against my schematron everything works fine.
However, if I run the 2.0 version against my schematron i get this error message:
The query language 'xslt' is not supported.
If I add queryBinding="xslt2" to the schematron, there is no error.
My question is this: why am I forced to specify the optional attribute queryBinding for the 2.0 implementation, because the default value of queryBinding is "xslt", instead of "xslt2"?
The text was updated successfully, but these errors were encountered: