Error parsing code in DITA book
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Tue Mar 12, 2019 8:43 pm
Error parsing code in DITA book
Context: I work in a team of 20 and I'm the only one experiencing the following issue.
For certain DITA books, I'm unable to generate the PDF and receive the following error message (in quote box so it's visible):
Any ideas?
For certain DITA books, I'm unable to generate the PDF and receive the following error message (in quote box so it's visible):
It appears that there is white/empty space between some of the tags (such as <li> and <keyword>, for example). Deleting that white/empty space solves the problem and I'm able to generate. HOWEVER this is not a great workaround since it's time-consuming and, quite frankly, tedious.map2pdf2.genetec:
[pipeline] Failed to parse SSW/R_SSW_ResolvedIssues_SR1.dita: C:\SVN\trunk_Clean\temp-gen-pdf\oxygen_dita_temp\FR\SSW\reference.dtd (The system cannot find the file specified)
[pipeline] Error on line 42 column 564
[pipeline] SXXP0003: Error reported by XML parser: The value of attribute "xtrc" associated with an
[pipeline] element type "keyword" must not contain the '<' character.
BUILD FAILED
C:\DITA-PACKS\DITA-OT-1.7\DITA-OT-1.7\build.xml:53: The following error occurred while executing this line:
C:\DITA-PACKS\DITA-OT-1.7\DITA-OT-1.7\build.xml:1299: The following error occurred while executing this line:
C:\DITA-PACKS\DITA-OT-1.7\DITA-OT-1.7\build.xml:1316: Failed to run pipeline: Failed to process merged topics: org.xml.sax.SAXParseException; lineNumber: 42; columnNumber: 564; The value of attribute "xtrc" associated with an element type "keyword" must not contain the '<' character.
Any ideas?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Error parsing code in DITA book
Hi Anna,
It looks like that old DITA Open Toolkit (version 1.7) you are using somehow produces invalid XML content in that particular situation. Probably a newer DITA OT engine (2.5.4 or 3.3) would no longer have this problem.
So you should try publishing with a newer publishing engine, see if the problem persists. If it does and you can provide us (support@oxygenxml.com) with a small sample DITA project exemplifying the problem we can take a look at it.
Regards,
Radu
It looks like that old DITA Open Toolkit (version 1.7) you are using somehow produces invalid XML content in that particular situation. Probably a newer DITA OT engine (2.5.4 or 3.3) would no longer have this problem.
So you should try publishing with a newer publishing engine, see if the problem persists. If it does and you can provide us (support@oxygenxml.com) with a small sample DITA project exemplifying the problem we can take a look at it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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