Oxygen doesn't recognize my jar files
Oxygen general issues.
-
- Posts: 1
- Joined: Tue Oct 12, 2021 11:13 pm
Oxygen doesn't recognize my jar files
Post by mightymaxi »
I've been scouring the NET all day and haven't found a solution to my problem. I have an XSLT file created by another person. When I try to transform the XML file with that XSLT I get 45 errors all saying they could not load my Java class. Is there somewhere I need to put the jar files to be recognized or maybe a function to assocate the jar file with the style sheet?
Is there some way to import/point to the jar files so Oxygen can recognize it? Or maybe copy the files into a certain folder?
Thank you,
Max
Code: Select all
Error: "Cannot find a 1-argument function named Q{java:com.ptc.arbortext.windchill.rules.markup.extensions.Extensions}new(). Cannot load Java class java:com.ptc.arbortext.windchill.rules.markup.extensions.Extensions. For diagnostics on calls to Java methods, use the -TJ command line option or set the Configuration property FeatureKeys.TRACE_EXTERNAL_FUNCTIONS"
Thank you,
Max
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen doesn't recognize my jar files
Hi Max,
If you use the "Configure Transformation Scenarios" toolbar button and edit the transformation scenario you have created, in the dialog there is an "Extensions" button which can be pressed and you can add JAR library references there:
https://www.oxygenxml.com/doc/versions/ ... hing2.html
As XSLT processor you should avoid using Saxon Home Edition which does not have support for Java extensions, so instead use Saxon 6 (if it's an XSLT 1.0) or Saxon 9 PE.
Regards,
Radu
If you use the "Configure Transformation Scenarios" toolbar button and edit the transformation scenario you have created, in the dialog there is an "Extensions" button which can be pressed and you can add JAR library references there:
https://www.oxygenxml.com/doc/versions/ ... hing2.html
As XSLT processor you should avoid using Saxon Home Edition which does not have support for Java extensions, so instead use Saxon 6 (if it's an XSLT 1.0) or Saxon 9 PE.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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