problem with extensions functions in 10.1 ( worked in 9.x )
Posted: Thu Mar 12, 2009 8:33 pm
In oxygen 9.x, I could drop a jar file that defined xpath extension functions into
oxygen/lib, and these functions would be recognized both for validation and
debugging.
In oxygen 10.1 (using Saxon B 9.1.0.5), this method is no longer working.
I've also tried defining a transformation scenario and adding the jar to that
scenario. With both methods, I get an error:
SystemID: /Java/apache-tomcat-6.0.18/webapps/vivaxtf/style/textIndexer/common/preFilterCommon.xsl
Severity: fatal
Description: Error in call to extension function {public static boolean org.cdlib.xtf.xslt.FileUtils.exists(net.sf.saxon.expr.XPathContext,java.lang.String)}: Exception in extension function java.lang.NoSuchMethodError: net.sf.saxon.expr.XPathContext.getOrigin()Lnet/sf/saxon/trace/InstructionInfoProvider; - net.sf.saxon.expr.XPathContext.getOrigin()Lnet/sf/saxon/trace/InstructionInfoProvider;
Start location: 46:0
oxygen/lib, and these functions would be recognized both for validation and
debugging.
In oxygen 10.1 (using Saxon B 9.1.0.5), this method is no longer working.
I've also tried defining a transformation scenario and adding the jar to that
scenario. With both methods, I get an error:
SystemID: /Java/apache-tomcat-6.0.18/webapps/vivaxtf/style/textIndexer/common/preFilterCommon.xsl
Severity: fatal
Description: Error in call to extension function {public static boolean org.cdlib.xtf.xslt.FileUtils.exists(net.sf.saxon.expr.XPathContext,java.lang.String)}: Exception in extension function java.lang.NoSuchMethodError: net.sf.saxon.expr.XPathContext.getOrigin()Lnet/sf/saxon/trace/InstructionInfoProvider; - net.sf.saxon.expr.XPathContext.getOrigin()Lnet/sf/saxon/trace/InstructionInfoProvider;
Start location: 46:0