{java:net.sf.saxon.Version}getProductVersion() error
Post here questions and problems related to editing and publishing DITA content.
{java:net.sf.saxon.Version}getProductVersion() error
I'm receiving the following error when I attempt to run webhelp-responsive using DITA-OT 3.1 on our server (and yes, I have a valid license.)
Can someone tell me how to resolve this Fatal error?
Can someone tell me how to resolve this Fatal error?
Code: Select all
whr-toc-xml:
[xslt] Processing C:\Users\rdelong\AppData\Local\Temp\4\temp20180703152613693\RetroToolsProducttasksTasksandwhattheycando.ditamap to C:\InfoShare\Data\PublishingService\Data\DataExports\GUID-97219B58-A60A-48AF-83B5-FCAFAE76E084.54368.20180703093026432\1\en-US\out\toc.xml
[xslt] Loading stylesheet C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.webhelp.responsive\xsl\navLinks\tocDita.xsl
[xslt] C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.highlight\xhtmlHighlight.xsl:15:35: Fatal Error! Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE
[xslt] C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\org.dita.html5\xsl\dita2html5Impl.xsl:33:116: Fatal Error! Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE
[xslt] C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.webhelp.responsive\xsl\navLinks\tocDitaImpl.xsl:17:70: Fatal Error! Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE
[xslt] C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.webhelp.responsive\xsl\navLinks\tocDita.xsl:8:39: Fatal Error! Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE
[xslt] C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.webhelp.responsive\xsl\navLinks\tocDita.xsl:8:39: Fatal Error! Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE
[xslt] C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.webhelp.responsive\xsl\navLinks\tocDita.xsl:8:39: Fatal Error! Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE
[xslt] Failed to process C:\Users\rdelong\AppData\Local\Temp\4\temp20180703152613693\RetroToolsProducttasksTasksandwhattheycando.ditamap
Error: Fatal error during transformation using C:\InfoShare\App\Utilities\DITA-OT\OracleFS31\plugins\com.oxygenxml.webhelp.responsive\xsl\navLinks\tocDita.xsl: Cannot find a 0-argument function named {java:net.sf.saxon.Version}getProductVersion(). Reflexive calls to Java methods are not available under Saxon-HE; SystemID: file:/C:/InfoShare/App/Utilities/DITA-OT/OracleFS31/plugins/com.oxygenxml.webhelp.responsive/xsl/navLinks/tocDita.xsl; Line#: 8; Column#: 39
Re: {java:net.sf.saxon.Version}getProductVersion() error
Dear Rick,
Our WebHelp DITA OT plugin does not officially support DITA OT 3.1:
https://www.oxygenxml.com/doc/versions/ ... ta-ot.html
The major impediment is that DITA OT 3.1 comes with an unlicensed version of Saxon 9.8 which no longer supports Java extensions and some of our XSLT stylesheets still use them.
Our WebHelp responsive can be made to work with DITA OT 3.1 but the DITA OT 3.1 needs to be slightly changed. I created an add-on for Oxygen which installs a full DITA OT 3.1 + WebHelp Responsive:
https://github.com/oxygenxml/dita-ot-3x-plugin
So if you download and use this DITA-OT 3.x + WebHelp plugins bundle I put together, it should work. It's bundled WebHelp responsive plugins are the equivalent of the Oxygen 20.1 bundled WebHelp responsive plugins.
Or:
A minimum which you could try on your side to get your DITA OT 3.1 + WebHelp Responsive working is:
1) Remove the library "DITA-OT\lib\Saxon-HE-9.8.0-12.jar" and replace it with the two "saxon-9.1.0.8-dom.jar" and "saxon-9.1.0.8.jar" libraries located in:
https://github.com/oxygenxml/dita-ot-3x ... ot-3.x/lib
2) Get the entire plugin folder:
https://github.com/oxygenxml/dita-ot-3x ... st.patches
and integrate it in your DITA OT 3.x "plugins" folder.
Regards,
Radu
Our WebHelp DITA OT plugin does not officially support DITA OT 3.1:
https://www.oxygenxml.com/doc/versions/ ... ta-ot.html
The major impediment is that DITA OT 3.1 comes with an unlicensed version of Saxon 9.8 which no longer supports Java extensions and some of our XSLT stylesheets still use them.
Our WebHelp responsive can be made to work with DITA OT 3.1 but the DITA OT 3.1 needs to be slightly changed. I created an add-on for Oxygen which installs a full DITA OT 3.1 + WebHelp Responsive:
https://github.com/oxygenxml/dita-ot-3x-plugin
So if you download and use this DITA-OT 3.x + WebHelp plugins bundle I put together, it should work. It's bundled WebHelp responsive plugins are the equivalent of the Oxygen 20.1 bundled WebHelp responsive plugins.
Or:
A minimum which you could try on your side to get your DITA OT 3.1 + WebHelp Responsive working is:
1) Remove the library "DITA-OT\lib\Saxon-HE-9.8.0-12.jar" and replace it with the two "saxon-9.1.0.8-dom.jar" and "saxon-9.1.0.8.jar" libraries located in:
https://github.com/oxygenxml/dita-ot-3x ... ot-3.x/lib
2) Get the entire plugin folder:
https://github.com/oxygenxml/dita-ot-3x ... st.patches
and integrate it in your DITA OT 3.x "plugins" folder.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: {java:net.sf.saxon.Version}getProductVersion() error
This is great information and excellent support for this plugin. Thank you!
Will Syncro-Soft be providing a stand-alone version of the WebHelp Responsive plugin that supports OT 3.1 without these patches?
Will Syncro-Soft be providing a stand-alone version of the WebHelp Responsive plugin that supports OT 3.1 without these patches?
Re: {java:net.sf.saxon.Version}getProductVersion() error
Hi Rick,
We probably will but I cannot give you a timeline, it depends on when we can fix on our side the problems generated by DITA OT 3.1 bundling with Saxon 9.8.
Do you have any particular interest in DITA OT 3.1? Any feature which is implemented in 3.1 but not in 2.x?
Regards,
Radu
We probably will but I cannot give you a timeline, it depends on when we can fix on our side the problems generated by DITA OT 3.1 bundling with Saxon 9.8.
Do you have any particular interest in DITA OT 3.1? Any feature which is implemented in 3.1 but not in 2.x?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: {java:net.sf.saxon.Version}getProductVersion() error
We've been using OT 1.8.5 for several years now and the WebHelp responsive plugin was an opportunity to finally upgrade the OT. We have an external server that runs our CCMS so setting up the OT and its plugins can be a challenge and takes some time to work properly. I wanted to do this once with the latest version of the OT.
I appreciate you creating the necessary work around to get the plugin to work with 3.1, but I've gone back to 2.5.x. I'm sure that someone else can take advantage of this update.
Thanks
I appreciate you creating the necessary work around to get the plugin to work with 3.1, but I've gone back to 2.5.x. I'm sure that someone else can take advantage of this update.
Thanks
Return to “DITA (Editing and Publishing DITA Content)”
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