- From: Egbert Gramsbergen <E.F.Gramsbergen@tudelft.nl>
- Date: Wed, 10 Mar 2010 17:56:13 +0100
- To: "Egbert Gramsbergen" <E.F.Gramsbergen@tudelft.nl>, <xproc-dev@w3.org>
- Message-ID: <6C321C785BFDA548A9DB3C126675968D26DC9F@SRV566.tudelft.net>
hello, I just found out that using extension functions in this way is no longer supported in the free Home Edition of Saxon. Saxon just changed its license scheme since version 9.2. When running the xslt mentioned outside Calabash, I used Saxon 8.x and 9.0, and running with Calabash I used 9.2. We will have to purchase at least the Professional Edition or use a pre-9.2 version with Calabash (btw, does Calabash depend on any new Saxon 9.2 features?). thanks, Egbert Gramsbergen ________________________________ From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf Of Egbert Gramsbergen Sent: woensdag 10 maart 2010 16:54 To: xproc-dev@w3.org Subject: error in Calabash running xslt with java extension functions. hello, I am trying to run an xslt (2.0) in a pipeline in Calabash. The xslt uses extension functions from java.lang.Math. I get error messages like: XPath syntax error at char 10 on line 8 in {math:PI() div 180.}: Cannot find a matching 0-argument function named {java:java.lang.Math}PI() and similarly Cannot find a matching 1-argument function named {java:java.lang.Math}cos() etc. I have used this xslt many times outside Calabash, just using Saxon, and then it works fine. I expected it to work in Calabash because it also uses Saxon. Has anyone encontered this problem, or knows if this kind of direct Java use was deliberately disabled, or should I adapt some setting or....? thanks, Egbert Gramsbergen ----- Delft University of Technology
Received on Wednesday, 10 March 2010 16:57:19 UTC