HighlightDomain.mod and DITA-OT 2.2.4 with Dita 1.3
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 5
- Joined: Thu Jul 07, 2016 10:39 am
HighlightDomain.mod and DITA-OT 2.2.4 with Dita 1.3
Post by RoxieRocks »
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
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: HighlightDomain.mod and DITA-OT 2.2.4 with Dita 1.3
Post by radu_pisoi »
Hi,
I've downloaded the DITA-OT distribution from https://github.com/dita-ot/dita-ot/releases/tag/2.2.4, and I modified the oXygen preferences to use that version.
In my case, the DITA topic validation works without any problem when I use DITA highlighting elements.
Have you customized DITA-OT by installing any DITA-OT plugins? Maybe you have installed a customization plugin that contribute an XML catalog that somehow breaks the validation.
I've downloaded the DITA-OT distribution from https://github.com/dita-ot/dita-ot/releases/tag/2.2.4, and I modified the oXygen preferences to use that version.
In my case, the DITA topic validation works without any problem when I use DITA highlighting elements.
Have you customized DITA-OT by installing any DITA-OT plugins? Maybe you have installed a customization plugin that contribute an XML catalog that somehow breaks the validation.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Thu Jul 07, 2016 10:39 am
Re: HighlightDomain.mod and DITA-OT 2.2.4 with Dita 1.3
Post by RoxieRocks »
Yes, thank you, I have found the mistake
we have been using customized dtds for technicalContent and in one of the file HighlightDomain.mod was declared twice.
Thank you very much again

Thank you very much again
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service