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

Clarify support for XPath 4.0 or XSLT/XQuery 4.0 #70

Open
galtm opened this issue Mar 17, 2024 · 3 comments
Open

Clarify support for XPath 4.0 or XSLT/XQuery 4.0 #70

galtm opened this issue Mar 17, 2024 · 3 comments

Comments

@galtm
Copy link

galtm commented Mar 17, 2024

Should I be able to use XPath 4.0 expressions in a Schematron schema, if the underlying processor supports them? How about XSLT 4.0 or XQuery 4.0? Would I use queryLanguageBinding="xslt4" or queryLanguageBinding="xquery4" on the schema?

The XSpec repo has a feature request issue about supporting 4.0 in XSpec tests, but I didn't know if supporting 4.0 in XSpec tests for Schematron schemas was supposed to be part of that task.

@AndrewSales
Copy link
Collaborator

The query language bindings are defined in normative annexes to the standard (I've been working on the XQuery ones just today).

I think while the 4.0 specs are still in draft, we would have a hard time referencing them normatively in the Schematron standard. So I would say if implementers choose to implement 4.0 bindings at this juncture, that is a matter for them.

But thank you @galtm for the reminder to reserve those binding values for future use, which I have now done in the latest working draft.

I'll leave this open for now, in case circumstances change and while further technical changes to the draft are permitted.

@galtm
Copy link
Author

galtm commented Mar 19, 2024

Thanks, @AndrewSales, for your reply and for reserving the 4.0 binding value for future use.

As for the XSpec backdrop to my question, there is a way to test a Schematron schema that uses 4.0, but we can consider it experimental for now.

@rjelliffe
Copy link
Member

rjelliffe commented May 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants