HighlightDomain.mod and DITA-OT 2.2.4 with Dita 1.3
Posted: Tue Aug 09, 2016 11:16 am
Hello,
We are moving now to dita-ot 2.2.4 and would like to use dita 1.3. During writing any dita topic, it gives an error "Element type "b" must not be declared more than once." and referes it to DITA-OT\plugins\org.oasis-open.dita.v1_3\dtd\base\dtd\HighlightDomain.mod. Moreover, it gives errors while pdf transformation and transformation fails afterall
If I remove and all other from HighlightDomain.mod, then transformation goes fine, but then, topics, that contains highlight elements, are not resolved and those elements asked to be declared.
I know, that dita 1.3 is not fully supported in this dita-ot version and that could be the reason, but maybe there is some solution for making it work. I would be appreciate for any ideas, thank you
We are moving now to dita-ot 2.2.4 and would like to use dita 1.3. During writing any dita topic, it gives an error "Element type "b" must not be declared more than once." and referes it to DITA-OT\plugins\org.oasis-open.dita.v1_3\dtd\base\dtd\HighlightDomain.mod. Moreover, it gives errors while pdf transformation and transformation fails afterall
Code: Select all
Recoverable error on line 58 of mappullImpl.xsl:
[move-meta] FODC0002: I/O error reported by XML parser processing
[move-meta] file:/C:/Data/tasksDita/doc/temp/pdf/topics/main_run.dita: C:\Data\tasksDita\doc\temp\pdf\topics\main_run.dita (The system cannot find the file specified)
[move-meta] file:/C:/Data/tasksDita/doc/main.ditamap:40:52: [DOTX023W][WARN]: Unable to retrieve navtitle from target: 'topics/main_run.dita'.
[move-meta] file:/C:/Data/tasksDita/doc/main.ditamap:40:52: [DOTX027W][WARN]: Unable to retrieve linktext from target: 'topics/main_run.dita'.
Code: Select all
transform.topic2fo.main:
[xslt] Processing C:\Data\tasksDita\doc\temp\pdf\stage1a.xml to C:\Data\tasksDita\doc\temp\pdf\stage2.fo
[xslt] Loading stylesheet C:\WADE\DITA-OT\plugins\org.dita.pdf2.fop\xsl\fo\topic2fo_shell_fop.xsl
[xslt] file:/C:/Data/tasksDita/doc/main.ditamap:19:75: [PDFX005F][FATAL]: Topic reference (href : #unique_9) not found. Reference may be incorrect. Please correct your ditamap or bookmap file.
[xslt] C:\WADE\DITA-OT\xsl\common\output-message.xsl:75: Fatal Error! Processing terminated by xsl:message at line 75 in output-message.xsl
[xslt] Failed to process C:\Data\tasksDitadoc\temp\pdf\stage1a.xml
BUILD FAILED
C:\WADE\DITA-OT\build.xml:41: The following error occurred while executing this line:
C:\WADE\DITA-OT\plugins\org.dita.pdf2\build.xml:140: The following error occurred while executing this line:
C:\WADE\DITA-OT\plugins\org.dita.pdf2\build.xml:297: Fatal error during transformation using C:\WADE\DITA-OT\plugins\org.dita.pdf2.fop\xsl\fo\topic2fo_shell_fop.xsl: Processing terminated by xsl:message at line 75 in output-message.xsl; SystemID: file:/C:/WADE/DITA-OT/xsl/common/output-message.xsl; Line#: 75; Column#: -1
Code: Select all
<!ELEMENT b %b.content;>
Code: Select all
<!ELEMENT * %*.content;>
I know, that dita 1.3 is not fully supported in this dita-ot version and that could be the reason, but maybe there is some solution for making it work. I would be appreciate for any ideas, thank you