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

plugin execution fails under Saxon 10.x #60

Open
fidothe opened this issue Sep 22, 2020 · 0 comments
Open

plugin execution fails under Saxon 10.x #60

fidothe opened this issue Sep 22, 2020 · 0 comments

Comments

@fidothe
Copy link
Contributor

fidothe commented Sep 22, 2020

While poking around because of the issue affecting me (#48) with Saxon 10.2, I've now checked with Saxon 10.0 and 10.1, under JDK 1.8 and 14, and it doesn't work because of how XSpec 1.5 tries to introspect the saxon version number, here:

https://github.com/xspec/xspec/blob/0754728f9bc1168955be88b62dede4e1064be1a8/src/compiler/generate-common-tests.xsl#L67-L70

The function it calls (x:saxon-version) assumes that it's a 4-part version number and 10.x are two-part...

https://github.com/xspec/xspec/blob/0754728f9bc1168955be88b62dede4e1064be1a8/src/common/xspec-utils.xsl#L235

Anyway, I have no idea if XQuery xspec files can be compiled and run under Saxon 10.x, but I'm pretty sure that XSLT xspecs cannot, without upgrading the bundled XSpec to 1.6 😢 .

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

1 participant