Kazuko O. wrote:

In the DITA bookmap file, xxe allows the designation of topic files that use 
same topic ID.

XXE does this because this is not only allowed by the DITA spec, but it is also customary to do so.

I've even seen well-known DITA consultants write that they don't care about the topic ID and that they always set it to "topic" (after recommending to always create each topic in its own file).




Even if running the "Check Map", we do not receive any errors.

This is not a bug. This is normal with DITA. See "2.3.1 ID attribute", http://docs.oasis-open.org/dita/dita/v1.3/errata01/os/complete/part2-tech-content/archSpec/base/id.html#id

---
...

The requirements for the @id attribute differ depending on whether it is used on a topic element, a map element, or an element within a topic or map.

...

The @id attributes for topic and map elements are declared as XML attribute type ID; therefore, they must be unique with respect to other XML IDs within the XML document that contains the topic or map element.
---

Notice "unique within the XML document that contains the topic element". Just that, nothing more.




Same topic ID usage in multiple topic files is critical error depending on the 
publication systems.

Please report this as a bug of your publication system. (Needless to say that our XMLmind DITA Converter -- http://www.xmlmind.com/ditac/ -- does not have this problem.)





Would it be possible for you that future xxe detects duplicated topic IDs usage 
in the topic files
 referenced in the bookmap file?


I'm sorry but the answer is no because doing so this would introduce a severe bug in XXE.

What you want is in fact enforce a business rule which is specific to your organization.

Using a Schematron for your DITA *map* to check this is probably possible, but this may cause saving maps in XXE very slow.





--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to