DITA OT 1.8 with Oxygen 20

Post here questions and problems related to editing and publishing DITA content.
NicoAMP
Posts: 98
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

DITA OT 1.8 with Oxygen 20

Post by NicoAMP »

Hello,

I use DITA OT 1.8 (I need to use this version for a customer) with Oxygen 19 to produce PDF on a ditamap : it works well.

When I use Oxygen 20 to do the same thing I have 2 errors :
- Transformation failed. C:\tmp\DITA-OT\plugins\org.dita.pdf2\build.xml:324: javax.xml.transform.TransformerConfigurationException: net.sf.saxon.s9api.SaxonApiException: Errors were reported during stylesheet compilation
- Leading '/' selects nothing: the context item is absent (C:\tmp\DITA-OT\plugins\net.sourceforge.dita4publishers.common.xslt\xsl\lib\dita-support-lib.xsl)

Do you know why I have this error with Oxygen 20 and not with Oxygen 19 ?

Thanks
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
Radu
Posts: 9445
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA OT 1.8 with Oxygen 20

Post by Radu »

Hi,

The DITA OT 1.8 you are using probably comes from an older Oxygen installation and is missing a couple of libraries (because it uses Oxygen's equivalent libraries). The latest Saxon 9.8 XSLT processor bundled with Oxygen 20 started showing this error because of some problem it finds in one of the XSLTs.
As a quick fix:

In the "OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT2.x\lib" folder there are two libraries (saxon-9.1.0.8.jar and saxon-9.1.0.8-dom.jar) which should be copied to the equivalent "DITA-OT1.8\lib" folder.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
NicoAMP
Posts: 98
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Re: DITA OT 1.8 with Oxygen 20

Post by NicoAMP »

Hi,

Thanks a lot, It works well now.

Regards,
Nicolas
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
Post Reply