Hi,

I have another problem with Sun's decicion to embed Xalan into JDK 1.4:

I need to declare non-prefixed extension functions with ExtensionTable.installFunction. This works in JDK1.3, but in JDK1.4 I get the following error, when trying to execute these extensions. It seems that from within the rt.jar it is not possible to reach extension functions outside rt.jar with Class.forName.

It does not help if I drop xalan.jar into the endorsed dir.

Any ideas?

ERROR: javax.xml.transform.TransformerException: java.lang.ClassNotFoundException: fi/hut/tml/xsmiles/mlfc/xforms/xpath/FuncInstance

javax.xml.transform.TransformerException: java.lang.ClassNotFoundException: fi/hut/tml/xsmiles/mlfc/xforms/xpath/FuncInstance

at org.apache.xpath.compiler.FuncLoader.getFunction(FuncLoader.java:154)
at org.apache.xpath.compiler.FunctionTable.getFunction(FunctionTable.java:273)
at org.apache.xpath.compiler.Compiler.compileFunction(Compiler.java:1055)
at org.apache.xpath.compiler.Compiler.compile(Compiler.java:215)
at org.apache.xpath.axes.FilterExprWalker.init(FilterExprWalker.java:117)
at org.apache.xpath.axes.WalkerFactory.loadWalkers(WalkerFactory.java:152)
at org.apache.xpath.axes.WalkingIterator.<init>(WalkingIterator.java:57)
at org.apache.xpath.axes.WalkingIteratorSorted.<init>(WalkingIteratorSorted.java:106)
at org.apache.xpath.axes.WalkerFactory.newDTMIterator(WalkerFactory.java:319)
at org.apache.xpath.compiler.Compiler.locationPath(Compiler.java:677)
at org.apache.xpath.compiler.Compiler.compile(Compiler.java:217)
at org.apache.xpath.compiler.Compiler.compile(Compiler.java:163)
at org.apache.xpath.XPath.<init>(XPath.java:224)
at fi.hut.tml.xsmiles.mlfc.xforms.CachedXPathAPIEx.eval(CachedXPathAPIEx.java:324)

Reply via email to