Using Saxon9HE, Calabash crashes with java.lang.NoSuchMethodError

A rather small test [1] seems to show that Calabash 0.9.14 is not
working properly with Saxon-HE 9.2.0.2J but runs fine with Saxon
9.1.0.5J. For the tests the Classpath is given explicit:
java -cp "J:\Programme\xproc\calabash\lib\calabash.jar;D:\Programme\Saxon9.1.0.5\saxon9.jar;D:\Programme\Saxon9.1.0.5\saxon9-xpath.jar;D:\Programme\Saxon9.1.0.5\saxon9-s9api.jar"
com.xmlcalabash.drivers.Main t-show-dirs.xpl dir=ttt
works fine and gives
<c:directory xmlns:c="http://www.w3.org/ns/xproc-step"><c:directory
name="ttt"/></c:directory>
as expected. But when I use
java -cp "J:\Programme\xproc\calabash\lib\calabash.jar;D:\Programme\Saxon9\saxon9he.jar"
com.xmlcalabash.drivers.Main t-show-dirs.xpl dir=ttt
then I get an 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(XProcFunctionLibrary.java:69)
	at com.xmlcalabash.functions.XProcFunctionLibrary.init(XProcFunctionLibrary.java:78)
	at com.xmlcalabash.functions.XProcFunctionLibrary.<init>(XProcFunctionLibrary.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:267)
	at com.xmlcalabash.drivers.Main.run(Main.java:133)
	at com.xmlcalabash.drivers.Main.main(Main.java:65)

Any workaround?

Regards,
Manfred

[1] t-show-dirs.xpl
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step name="myPipeline"
   xmlns:c="http://www.w3.org/ns/xproc-step"
   xmlns:p="http://www.w3.org/ns/xproc">
   <p:input port='parameters' kind='parameter' primary='true'/>
   <p:output port="result"/>
   <p:option name="dir"/>
   <p:add-attribute match="*/c:directory" attribute-name="name" name="level-0">
      <p:with-option name="attribute-value"
select="$dir"><p:empty/></p:with-option>
      <p:input port="source">
         <p:inline>
<c:directory><c:directory/></c:directory>
         </p:inline>
      </p:input>
   </p:add-attribute>
</p:declare-step>

Received on Saturday, 19 September 2009 12:51:37 UTC