Chemistry fails with stylesheet compilation error

Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
bloodnok
Posts: 54
Joined: Mon Jun 27, 2011 10:51 pm

Chemistry fails with stylesheet compilation error

Post 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="${dita.map.merged}"
out="${dita.map.merged.post.processed}"
style="${dita.plugin.com.oxygenxml.pdf.css.dir}/xsl/post-process.xsl"
force="true"
classpath="${dita.plugin.com.oxygenxml.pdf.css.dir}/xsl/java">
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Chemistry fails with stylesheet compilation error

Post 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.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply