OXygen Author 26 beta WebHelp Publishing transformation failed
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Fri Sep 29, 2023 7:48 am
OXygen Author 26 beta WebHelp Publishing transformation failed
Hello,
When I tried publishing a WebHelp ditamap file in Oxygen Author 26 beta, it failed with error shown in attached log file where as in Oxygen Author 25, transformation was successful.
What went wrong here? Is there any changes in publishing module in Oxygen Author 26 beta apart from renaming DITA-OT 3.x to DITA-OT?
When I tried publishing a WebHelp ditamap file in Oxygen Author 26 beta, it failed with error shown in attached log file where as in Oxygen Author 25, transformation was successful.
What went wrong here? Is there any changes in publishing module in Oxygen Author 26 beta apart from renaming DITA-OT 3.x to DITA-OT?
oxygen_author_26_build_error_webhelp.png
Thanks,You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Hi,
Looking at the errors you get, that "preprocess_project_files.xsl" stylesheet is not bundled with our default Oxygen installation. It seems to be a custom stylesheet. Somehow it looks like you are running this stylesheet with an XSLT processor which does not know XSLT 3.0. If you have some kind of build file which uses Saxon jar libraries to run an XSLT transformation, in Oxygen 26 the version of the Saxon libraries bundled with the DITA-OT has changed and maybe you need to update those library names...
Regards,
Radu
Looking at the errors you get, that "preprocess_project_files.xsl" stylesheet is not bundled with our default Oxygen installation. It seems to be a custom stylesheet. Somehow it looks like you are running this stylesheet with an XSLT processor which does not know XSLT 3.0. If you have some kind of build file which uses Saxon jar libraries to run an XSLT transformation, in Oxygen 26 the version of the Saxon libraries bundled with the DITA-OT has changed and maybe you need to update those library names...
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Post by chrispitude »
Hi Sudhe,
Your transformations are using the DITA-OT project file preprocessing described here:
Oxygen XML Blog: Preprocessing DITA-OT Project Files
It uses a custom build.xml file for the transformation to perform the preprocessing. It is failing because the Oxygen beta has newer Saxon libraries, and the transformation is pointing to the older ones.
However, none of that is necessary because Oxygen v26 uses a newer DITA-OT that supports all the features described in the blog post. So that is the better solution here.
Your transformations are using the DITA-OT project file preprocessing described here:
Oxygen XML Blog: Preprocessing DITA-OT Project Files
It uses a custom build.xml file for the transformation to perform the preprocessing. It is failing because the Oxygen beta has newer Saxon libraries, and the transformation is pointing to the older ones.
However, none of that is necessary because Oxygen v26 uses a newer DITA-OT that supports all the features described in the blog post. So that is the better solution here.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Post by chrispitude »
For a transitionary solution that works in both v25.1 and v26, you can update the custom transformations to also look for Saxon 12 libraries.
To do this,
To do this,
- Go to Options > Preferences > Document Type Association > (My Company) DITA-OT Project and click Edit.
- Select the Transformation tab.
- For each transformation shown, click on the Edit icon, click the Libraries button, and add a Saxon 12 path above the Saxon 11 path in the same form.
image.png
You do not have the required permissions to view the files attached to this post.
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