Page 1 of 1
OXygen Author 26 beta WebHelp Publishing transformation failed
Posted: Fri Sep 29, 2023 8:03 am
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
Thanks,
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Posted: Fri Sep 29, 2023 8:21 am
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
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Posted: Fri Sep 29, 2023 11:45 am
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.
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Posted: Fri Sep 29, 2023 2:05 pm
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,
- 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.
For example,
image.png
Re: OXygen Author 26 beta WebHelp Publishing transformation failed
Posted: Tue Oct 03, 2023 9:25 am
by sudhi
Thank You Chris. This is worked.