Specifying Saxon version for DITA-OT?
Posted: Fri Jul 30, 2021 6:12 pm
Hi All,
In my DITA-OT plugin (3.6.1) I'm using the <saxon:doctype> extension to set the DOCTYPE of result documents. When I test the plugin in Oxygen, the Saxon extensions have no effect, and I get log messages of the form:
[ACME Process] /usr/local/bin/DITA-OT/dita-ot-3.6.1/plugins/com.acme.process/cfg/xsl/ProcessACME.xsl:553:63: Warning! saxon:doctype is not recognized as a Saxon instruction. Saxon extensions require Saxon-PE or higher
My Oxygen preferences specify Saxon-PE as my XSLT engine. Am I missing an option to set the default XSLT processor for DITA-OT transformation scenarios? (The base XSLT stylesheet does operate as expected when tested in an Oxygen XSLT transformation scenario).
TIA!
-Alan Houser
In my DITA-OT plugin (3.6.1) I'm using the <saxon:doctype> extension to set the DOCTYPE of result documents. When I test the plugin in Oxygen, the Saxon extensions have no effect, and I get log messages of the form:
[ACME Process] /usr/local/bin/DITA-OT/dita-ot-3.6.1/plugins/com.acme.process/cfg/xsl/ProcessACME.xsl:553:63: Warning! saxon:doctype is not recognized as a Saxon instruction. Saxon extensions require Saxon-PE or higher
My Oxygen preferences specify Saxon-PE as my XSLT engine. Am I missing an option to set the default XSLT processor for DITA-OT transformation scenarios? (The base XSLT stylesheet does operate as expected when tested in an Oxygen XSLT transformation scenario).
TIA!
-Alan Houser