Parser Setup: How to specify where my class files are?
Posted: Wed Jun 09, 2004 1:56 am
Hello everyone!
After searching the resources around here I decided to ask for a help with problem I can't solve:
I have a static method written in Java to do some string manipulation and use it in my xsl script as follows.
<xsl:script language="java" implements-prefix="WeaveComment" src="java:ifa.xweaver.WeaveComment"/>
<xsl:value-of select="WeaveComment:addAtEnd( $comment, $additionalComments, $defaultIndentation )"/>
Up to now I have used the command line saxon parser. Now I have moved my project to Oxygen as I'm keen on the debuger. BUT I get the following error/exception when debugging (the correct code on correct data -- this I checked using command line parser):
SystemID: null
Description: F java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.utils.NodeVector.addAtEnd([ExpressionContext,] #RTREEFRAG, #RTREEFRAG).
When working with saxon (xsl is run from Ant) I have xweaver.jar file that contain the class files in the lib subdiretory of Ant. Where in Oxygen 4.0 should I copy my jar file or where to set some additional classpath in order to avoid the error?
Thanks in advance for your help
After searching the resources around here I decided to ask for a help with problem I can't solve:
I have a static method written in Java to do some string manipulation and use it in my xsl script as follows.
<xsl:script language="java" implements-prefix="WeaveComment" src="java:ifa.xweaver.WeaveComment"/>
<xsl:value-of select="WeaveComment:addAtEnd( $comment, $additionalComments, $defaultIndentation )"/>
Up to now I have used the command line saxon parser. Now I have moved my project to Oxygen as I'm keen on the debuger. BUT I get the following error/exception when debugging (the correct code on correct data -- this I checked using command line parser):
SystemID: null
Description: F java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.utils.NodeVector.addAtEnd([ExpressionContext,] #RTREEFRAG, #RTREEFRAG).
When working with saxon (xsl is run from Ant) I have xweaver.jar file that contain the class files in the lib subdiretory of Ant. Where in Oxygen 4.0 should I copy my jar file or where to set some additional classpath in order to avoid the error?
Thanks in advance for your help