Parser Setup: How to specify where my class files are?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Parser Setup: How to specify where my class files are?
Post by Ondrej Rohlik »
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Ondrej,
If you are running the standalone version and you are not on Mac then you can just drop the jars inside the oXygen lib directory and start oXygen. On Mac you should place the jars inside the oxygen.app application in Contents/Resources/Java.
If you are running the Eclipse plugin you can edit the plugin.xml and add references your jars there in the runtime section.
Best Regards,
George
If you are running the standalone version and you are not on Mac then you can just drop the jars inside the oXygen lib directory and start oXygen. On Mac you should place the jars inside the oxygen.app application in Contents/Resources/Java.
If you are running the Eclipse plugin you can edit the plugin.xml and add references your jars there in the runtime section.
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service