W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2009

Can't get Calabash to work with the latest SAXON

From: Costello, Roger L. <costello@mitre.org>
Date: Mon, 26 Oct 2009 15:28:22 -0400
To: "'xproc-dev@w3.org'" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500408B45036@IMCMBX3.MITRE.ORG>

Hi Folks,

I am unable to get Calabash to work with the latest version of SAXON (saxonee9-2-0-2j). 

In my DOS batch file I added to the classpath saxon9ee.jar, saxon9ee-qc.jar, and saxon9-sql.jar. 

Here's the error message I get:

Exception in thread "main" java.lang.NoSuchMethodError: net.sf.saxon.functions.StandardFunction.makeEntry(Ljava/lang/String;Ljava/lang/Class;IIILnet/sf/saxon/type/ItemType;I)Lnet/sf/saxon/functions/StandardFunction$Entry;
        at com.xmlcalabash.functions.XProcFunctionLibrary.register(XProcFunction
Library.java:69)
        at com.xmlcalabash.functions.XProcFunctionLibrary.init(XProcFunctionLibr
ary.java:78)
        at com.xmlcalabash.functions.XProcFunctionLibrary.<init>(XProcFunctionLi
brary.java:46)
        at com.xmlcalabash.runtime.XAtomicStep.<init>(XAtomicStep.java:61)
        at com.xmlcalabash.runtime.XCompoundStep.<init>(XCompoundStep.java:28)
        at com.xmlcalabash.runtime.XRootStep.<init>(XRootStep.java:24)
        at com.xmlcalabash.core.XProcRuntime.load(XProcRuntime.java:266)
        at com.xmlcalabash.drivers.Main.run(Main.java:138)
        at com.xmlcalabash.drivers.Main.main(Main.java:67)

Here's my DOS batch file:

set CLASSPATH=.
set CLASSPATH=%CLASSPATH%;calabash.jar
set CLASSPATH=%CLASSPATH%;saxon9ee.jar
set CLASSPATH=%CLASSPATH%;saxon9ee-qc.jar
set CLASSPATH=%CLASSPATH%;saxon9ee-sql.jar
set CLASSPATH=%CLASSPATH%;apache-commons-http-client\commons-httpclient-3.1.jar
set CLASSPATH=%CLASSPATH%;apache-commons-logging\commons-logging-1.1.1.jar
set CLASSPATH=%CLASSPATH%;apache-commons-codec\commons-codec-1.3.jar

java -classpath %CLASSPATH% com.xmlcalabash.drivers.Main -a example.xpl 
 
Any ideas on what I'm doing wrong? 

/Roger
Received on Monday, 26 October 2009 19:28:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 October 2009 19:28:55 GMT