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

Enhancement: support XSLT3 and XPath3 #20

Open
rjelliffe opened this issue Jan 10, 2017 · 5 comments
Open

Enhancement: support XSLT3 and XPath3 #20

rjelliffe opened this issue Jan 10, 2017 · 5 comments

Comments

@rjelliffe
Copy link
Member

rjelliffe commented Jan 10, 2017

Schematron skeleton should be upgraded to support XSLT3 and XPath3.

There are three levels of support:

  • The implementation should allow a schema/@queryBinding value of xpath3 and converts this to the appropriate xslt:stylesheet/@Version="3.0". That then enables the new xpath3 syntax. This can be done immediately, I think.

  • We need to work out a proper Query Language binding for XSLT3. There are quite a few things in XSLT3 that require thought. For example, a big part is type safety. So I think an XSLT3 binding should support sch:let/@xsl:as (in the same way that xsl:key was introduced because it is a query-language-dependent feature.)

  • We may need to figure out what the streaming story is for XSLT3. There is already a STAX QLB available, but would it be useful/necessary to have a query-language-binding subset of for "xslt3-streaming"

@PStellmann
Copy link

I would like to get the ability of using sch:let/@xsl:as for XSLT2 binding as well.

My motivation is that in XSLT I'm used to add an @as attribute for every xsl:param and xsk:variable since I consider this to be cleaner code . So I'd like to do the same for my schematron rules.

@rjelliffe
Copy link
Member Author

rjelliffe commented Feb 12, 2017 via email

@DemiMarie
Copy link

One difficulty is that I don't know of any open source implementations of XSLT3.

@rjelliffe
Copy link
Member Author

rjelliffe commented Mar 2, 2017 via email

@nigelwhitaker
Copy link

I've been working on a solution to the first level of support (first bullet in the first comment from Rick) and am hoping to create a pull request when I've run existing tests and added some new tests.

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

No branches or pull requests

5 participants