DITA OT builds fail with v20, works with v19
Posted: Tue Jul 24, 2018 8:49 pm
I am running two transformation scenarios that uses a customized DITA OT v1.8.5 to produce pdf2 and D4P output. Both PDF and D4P produce output when I run it in Oxygen 19.
But when I run the same scenarios in Oxygen 20.1, they both fail. Partial PDF and D4P log files below. What do you think?
Thanks,
Mark
-----------------------
The pdf2 failure is this:
transform.topic2fo.main:
[xslt] Processing /Users/mgiffin/git/kafka-docs/temp/pdf/stage1a.xml to /Users/mgiffin/git/kafka-docs/temp/pdf/stage2.fo
[xslt] Loading stylesheet /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita.pdf2/xsl/fo/topic2fo_shell_xep.xsl
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita.pdf2/Customization/fo/xsl/custom.xsl:6:19: Warning! Unrecognized version 1.1: treated as 1.0
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/relpath_util.xsl:7:4: Warning! Stylesheet module file:/Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/relpath_util.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:8:4: Warning! Stylesheet module file:/Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:291:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:309:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:369:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:382:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:1: Fatal Error! Leading '/' selects nothing: the context item is absent
[xslt] Failed to process /Users/mgiffin/git/kafka-docs/temp/pdf/stage1a.xml
-----------------------
The D4P failure is this:
dc-adjust-copy-to:
[echo] *
[echo] * Starting dc-adjust-copy-to...
[echo] *
[copy] Copying 1 file to /Users/mgiffin/git/kafka-docs/temp/xhtml
[adjust-copy-to] Transforming into /Users/mgiffin/git/kafka-docs/temp/xhtml
[adjust-copy-to] Processing /Users/mgiffin/git/kafka-docs/temp/xhtml/kafka.ditamap to /Users/mgiffin/git/kafka-docs/temp/xhtml/kafka.ditamap.copy-to
[adjust-copy-to] Loading stylesheet /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.adjust-copy-to/xsl/adjustCopyTo.xsl
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:291:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:309:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:369:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:382:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:1: Fatal Error! Leading '/' selects nothing: the context item is absent
[adjust-copy-to] Failed to process null
BUILD FAILED
/Users/mgiffin/git/tools/DITA-OT/build.xml:44: The following error occurred while executing this line:
/Users/mgiffin/git/tools/DITA-OT/plugins/com.cloudera.html5/build_cloudera_html5.xml:9: The following error occurred while executing this line:
/Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.adjust-copy-to/adjust-copy-to-preprocess.xml:59: javax.xml.transform.TransformerConfigurationException: net.sf.saxon.s9api.SaxonApiException: Errors were reported during stylesheet compilation
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(Unknown Source)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:300)
But when I run the same scenarios in Oxygen 20.1, they both fail. Partial PDF and D4P log files below. What do you think?
Thanks,
Mark
-----------------------
The pdf2 failure is this:
transform.topic2fo.main:
[xslt] Processing /Users/mgiffin/git/kafka-docs/temp/pdf/stage1a.xml to /Users/mgiffin/git/kafka-docs/temp/pdf/stage2.fo
[xslt] Loading stylesheet /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita.pdf2/xsl/fo/topic2fo_shell_xep.xsl
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita.pdf2/Customization/fo/xsl/custom.xsl:6:19: Warning! Unrecognized version 1.1: treated as 1.0
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/relpath_util.xsl:7:4: Warning! Stylesheet module file:/Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/relpath_util.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:8:4: Warning! Stylesheet module file:/Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:291:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:309:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:369:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:382:3: Warning! The parent axis starting at a document node will never select anything
[xslt] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:1: Fatal Error! Leading '/' selects nothing: the context item is absent
[xslt] Failed to process /Users/mgiffin/git/kafka-docs/temp/pdf/stage1a.xml
-----------------------
The D4P failure is this:
dc-adjust-copy-to:
[echo] *
[echo] * Starting dc-adjust-copy-to...
[echo] *
[copy] Copying 1 file to /Users/mgiffin/git/kafka-docs/temp/xhtml
[adjust-copy-to] Transforming into /Users/mgiffin/git/kafka-docs/temp/xhtml
[adjust-copy-to] Processing /Users/mgiffin/git/kafka-docs/temp/xhtml/kafka.ditamap to /Users/mgiffin/git/kafka-docs/temp/xhtml/kafka.ditamap.copy-to
[adjust-copy-to] Loading stylesheet /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.adjust-copy-to/xsl/adjustCopyTo.xsl
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:291:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:309:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:369:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:382:3: Warning! The parent axis starting at a document node will never select anything
[adjust-copy-to] /Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.common.xslt/xsl/dita-support-lib.xsl:255:1: Fatal Error! Leading '/' selects nothing: the context item is absent
[adjust-copy-to] Failed to process null
BUILD FAILED
/Users/mgiffin/git/tools/DITA-OT/build.xml:44: The following error occurred while executing this line:
/Users/mgiffin/git/tools/DITA-OT/plugins/com.cloudera.html5/build_cloudera_html5.xml:9: The following error occurred while executing this line:
/Users/mgiffin/git/tools/DITA-OT/plugins/org.dita-community.adjust-copy-to/adjust-copy-to-preprocess.xml:59: javax.xml.transform.TransformerConfigurationException: net.sf.saxon.s9api.SaxonApiException: Errors were reported during stylesheet compilation
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(Unknown Source)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:300)