You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Eran Hammer-Lahav <xa...@lahav.net> on 2003/06/02 20:04:09 UTC

Cannot find nodeset extension

I get the following message when I try to use the nodeset:nodeset() method:

defaultType.xslt; Line #112; Column #35; XSLT Error
(javax.xml.transform.TransformerException): java.lang.NoSuchMethodException:
For extension function, could not find method
org.apache.xml.dtm.ref.DTMNodeIterator.nodeset([ExpressionContext,] ).

I use the command line:

C:\>java -cp \bin\xercesImpl.jar;\bin\xml-apis.jar;\bin\xalan.jar
org.apache.xalan.xslt.Process -IN xml/OmmTypeInstrument.xml -XSL
schema/defaultType.xslt

It works if I remove the nodeset extension which means Java can find
everything else. I use java 1.4.1._03 which I also had to manually remove
the org.apache directory from its rt.jar because it was conflicting with my
newer installation of xalan.

Any help?

EL