Page 1 of 1

Chemistry fails with stylesheet compilation error

Posted: Mon May 21, 2018 11:37 pm
by bloodnok
Experimenting with Chemistry. Using the command line string from How to Obtain PDF Output from DITA Content using a Command Line modified with local paths. It churns for a while, then says

Code: Select all

Error: The following error occurred while executing this line:
/Users/grif/Documents/tools/dita-ot-3.0.2/plugins/com.oxygenxml.pdf.css/build.xml:184: javax.xml.transform.TransformerConfigurationException: net.sf.saxon.s9api.SaxonApiException: Errors were reported during stylesheet compilation
line 184 is part of this xslt call

Code: Select all

	   <xslt in="${}"

Re: Chemistry fails with stylesheet compilation error

Posted: Tue May 22, 2018 11:33 am
by Costin
Hi bloodnok,

As also specified in the DITA-CSS plugin page, (as this additional plugin is needed when you run Chemistry outside oXygen, from command line) the DITA Open Toolkit versions that the plugin was tested against are 1.8 and 2.0.
As DITA OT v3 could not be fully supported, could you please try deploying a clean distribution of DITA OT 2 and see if this issue still occurs?

For example, you should try using the plugin with DITA OT 2.5.4 and see if the issue still occurs.