DITA-OT 3.2 re-importing xsl or How to see more xsl:messages in logging?
Posted: Mon Nov 19, 2018 6:38 pm
I am using DITA-OT 3.2 out of the box with a custom plugin i am developing.
I am just relying on the $plugin/cfg/fo/attrs/custom.xls and similar xsl/custom.xsl.
I am not using any args.xsl.pdf in my initialization target.
My code is validated all well by OxygenXml 19.1.
Part of my fo:attribute customization is reflected in the output, so my code is processed by the FOP formatter.
When running the DITA-OT by commandline, i get multiple warnings about "*.xsl included or imported more than once. ". I have read somewhere from Mickael Kay these warnings are an feature/artefact introduced with the Saxon-HE-9.8.0(-12).jar.
I am suspecting a logger limitation, because i only see just one of my xsl:message lines, while there should be plenty.
My question:
- are there any known issues for DITA-OT 3.x about re-importing core xsl at the end of workflow for FOP PDF (causing the warnings)
- or, is there a way to increase the list of logger output so i can see all of my messages?
I am just relying on the $plugin/cfg/fo/attrs/custom.xls and similar xsl/custom.xsl.
I am not using any args.xsl.pdf in my initialization target.
My code is validated all well by OxygenXml 19.1.
Part of my fo:attribute customization is reflected in the output, so my code is processed by the FOP formatter.
When running the DITA-OT by commandline, i get multiple warnings about "*.xsl included or imported more than once. ". I have read somewhere from Mickael Kay these warnings are an feature/artefact introduced with the Saxon-HE-9.8.0(-12).jar.
I am suspecting a logger limitation, because i only see just one of my xsl:message lines, while there should be plenty.
My question:
- are there any known issues for DITA-OT 3.x about re-importing core xsl at the end of workflow for FOP PDF (causing the warnings)
- or, is there a way to increase the list of logger output so i can see all of my messages?
Code: Select all
[echo] Copy bookmap relative images/cover-*.png to artwork/covers/cover-background.png
[copy] Warning: E:\DocFactory\testsuite\src\cover-text\dita\images\covers does not exist.
[pipeline] Warning at xsl:stylesheet on line 44 column 19 of commons.xsl:
[pipeline] Stylesheet module commons.xsl is included or imported more than once. This is permitted,
[pipeline] but may lead to errors or unexpected behavior
[pipeline] Warning at xsl:stylesheet on line 43 column 19 of topic.xsl:
[pipeline] Stylesheet module topic.xsl is included or imported more than once. This is permitted, but
[pipeline] may lead to errors or unexpected behavior
[pipeline] Warning at xsl:stylesheet on line 43 column 19 of concept.xsl:
[pipeline] Stylesheet module concept.xsl is included or imported more than once. This is permitted,
[pipeline] but may lead to errors or unexpected behavior
[pipeline] Warning at xsl:stylesheet on line 36 column 19 of static-content.xsl:
[pipeline] Stylesheet module static-content.xsl is included or imported more than once. This is
[pipeline] permitted, but may lead to errors or unexpected behavior
[pipeline] Warning at xsl:stylesheet on line 43 column 19 of topic.xsl:
[pipeline] Stylesheet module topic.xsl is included or imported more than once. This is permitted, but
[pipeline] may lead to errors or unexpected behavior
[pipeline] Warning at xsl:stylesheet on line 15 column 17 of tables.xsl:
[pipeline] Stylesheet module tables.xsl is included or imported more than once. This is permitted,
[pipeline] but may lead to errors or unexpected behavior
[pipeline] Warning at xsl:stylesheet on line 38 column 19 of front-matter.xsl:
[pipeline] Stylesheet module front-matter.xsl is included or imported more than once. This is
[pipeline] permitted, but may lead to errors or unexpected behavior
[pipeline] *** Default cover background image: Customization/OpenTopic/common/artwork/covers/cover-background.png
--------------------------------------
Results
--------------------------------------