-
Notifications
You must be signed in to change notification settings - Fork 43
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
support for saxon 9 b #79
Comments
Hi Árpád, thanks for providing some sample code for integration, that's always useful. As far as I can read on the Saxon official page, Saxon-B is an older product (bold is mine):
I don't know if it helps, but I wonder if it is possible to achieve what you're doing with extension functions. This page describes how to write extension functions using Saxon 9.2 or better: http://www.saxonica.com/html/documentation/extensibility/integratedfunctions/). Alternatively XSLT 3.0 supports higher-order functions and I can see how easy it is to extend the shell and batch scripts to support Saxon-B but you need to bear in mind that you're using an older product that is not maintained any more. Sandro |
Dear Sandro, As far as I understand, extension functions and XSLT 3.0 are only supported by the PE or EE edition. Both of them closed source. I am writing open source software, so cannot and do not want to depend on closed source ones. There are saxon-b variants still maintained (I am not the only one in the situation above). Actually the provided script is driving the https://github.com/orbeon/saxon variant for me. |
Hi @magwas, I submitted a pull request to add support for Saxon B (#82), could you check if it would fix this issue? Regarding code coverage, this is currently broken also for SaxonHE and SaxonEE/PE, I submitted another pull request to fix it (#80) but it is unlikely that it is going to work for Saxon B as it requires Saxon extension functions. I hope this can help maintaining your open source projects. Sandro |
It would be nice to have support for saxon 9 b, for two reasons:
As a workaround I have figured out that the following script as "saxon" works, with sacrifying coverage support (it just forgets the first three parameters, and I have saxon 9 b at ~/lib/saxon9.jar):
$ cat bin/saxon
#!/bin/bash
echo "this saxon script is specially crafted to make xpspec able to use saxon 9 b"
shift
shift
shift
java -cp /usr/share/java/tagsoup-1.2.1.jar -jar ~/lib/saxon9.jar ${*} targetdir=$PWD
The text was updated successfully, but these errors were encountered: