Validation error (E Xerces)
Oxygen general issues.
-
- Posts: 1
- Joined: Fri Jul 15, 2016 1:29 pm
Validation error (E Xerces)
Hi I am pulling the following errors in my ditamap: "Attribute "id" is required and must be specified for element type "topicset"."
Any leads as to what I am doing wrong/how to fix?
Thanks in advance!
Olivier
Ditamap content:
Any leads as to what I am doing wrong/how to fix?
Thanks in advance!
Olivier
Ditamap content:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>DITA Topic Map</title>
<topicref href="presentation.dita">
<topicref href="minimum_requirements.dita"/>
<topicref href="using_diotaplayer__gestures.dita"/>
</topicref>
<topicset href="home_screen.dita">
<topicset href="import_project.dita"/>
<topicset href="create_edit_project.dita"/>
</topicset>
<topicset href="work_space.dita">
<topicset href="tools.dita"/>
</topicset>
</map>
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Validation error (E Xerces)
Hi Olivier,
The <topicset> element is used to group topicrefs in order to conref them from other places.
So this is why according to the DITA specs, the ID attribute on a topicset is required:
https://docs.oasis-open.org/dita/v1.2/o ... icset.html
Looking at your sample DITA Map, you could probably use topicref instead of topicset.
Regards,
Radu
The <topicset> element is used to group topicrefs in order to conref them from other places.
So this is why according to the DITA specs, the ID attribute on a topicset is required:
https://docs.oasis-open.org/dita/v1.2/o ... icset.html
Looking at your sample DITA Map, you could probably use topicref instead of topicset.
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)
- ↳ 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