Validation error (E Xerces)

<oXygen/> general issues.
Posts: 1

Validation error (E Xerces)

Wed Oct 05, 2016 11:37 am

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!

Ditamap content:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
 <title>DITA Topic Map</title>
 <topicref href="presentation.dita">
  <topicref href="minimum_requirements.dita"/>
  <topicref href="using_diotaplayer__gestures.dita"/>
 <topicset href="home_screen.dita">
  <topicset href="import_project.dita"/>
  <topicset href="create_edit_project.dita"/>
 <topicset href="work_space.dita">
  <topicset href="tools.dita"/>
Posts: 5921

Re: Validation error (E Xerces)

Wed Oct 05, 2016 1:21 pm

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:

Looking at your sample DITA Map, you could probably use topicref instead of topicset.

Radu Coravu
<oXygen/> XML Editor

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 2 guests