OXygen Author 26 beta WebHelp Publishing transformation failed

Post here questions and problems related to editing and publishing DITA content.
sudhi
Posts: 2
Joined: Fri Sep 29, 2023 7:48 am

OXygen Author 26 beta WebHelp Publishing transformation failed

Post by sudhi »

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?
oxygen_author_26_build_error_webhelp.png
oxygen_author_26_build_error_webhelp.png (21.9 KiB) Viewed 650 times
Thanks,
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: OXygen Author 26 beta WebHelp Publishing transformation failed

Post by Radu »

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrispitude
Posts: 907
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.
chrispitude
Posts: 907
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,
  1. Go to Options > Preferences > Document Type Association > (My Company) DITA-OT Project and click Edit.
  2. Select the Transformation tab.
  3. 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.
For example,

image.png
image.png (16.86 KiB) Viewed 625 times
sudhi
Posts: 2
Joined: Fri Sep 29, 2023 7:48 am

Re: OXygen Author 26 beta WebHelp Publishing transformation failed

Post by sudhi »

Thank You Chris. This is worked.
Post Reply