Kazuko O. wrote:
I understand XXE's thought about topic ID.

Thanks.





Antenna house's AH Formatter which my organization uses causes error when
@ids of the topic elements are not unique in a document.
I want to report it to Antenna house, but
Antenna house will say that it is not a bug,

It's probably a bug, but not THEIR bug. See below.





because DITA specification
specifies that topic element must be unique within a document and
duplicated @ids cause troubles between multiple documents, and so on.

What says Antenna House is somewhat correct. Antenna House's input must not have duplicate @ids, but THEIR input is not YOUR source DITA document.

More precisely, this is really not their problem as Antenna House is just responsible of A) the XSLT stylesheet which generates XSL-FO within the DITA Open Toolkit B) the XSL-FO processor which converts XSL-FO to PDF.

It's probably (though somewhat surprising) a bug of the DITA open toolkit "core" which "preprocesses" the DITA input document before submitting it to Antenna House XSL machinery.

If you are were using our XMLmind DITA Converter (http://www.xmlmind.com/ditac/), I would have immediately told you that you have probably uncovered a bug and that you should send us a sample DITA document letting us reproduce this bug.





Anyway, I know that also other editors do not completely validate it.

As a workaround, I will try schematron to validate topic id is equal to 
filename...

You'll spend a lot of time and efforts doing this.

It makes much more sense to act in order to have the bug fixed in your DITA publishing system.

May be it's a simple bug that is quickly fixed.

May be it's a specific bug which is triggered by specific conditions found in your DITA documents.





I appreciate your cooperation.

You are very welcome.

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

Reply via email to