On 05/04/2012 01:57 PM, Camille Bégnis wrote:
>
> we have a DocBook <book> that has 2 xi:include to chapters. One of those
> chapters has a duplicate xml:id. While this is correctly reported as an
> error by XXE when the chapter is open, it is not reported when opening
> the <book>: is it the expected behavior?
>

The problem you report looks more like a limitation of XXE than like a 
bug. Moreover this limitation seems to be an acceptable one, as the 
author is supposed to edit the chapter and therefore see the duplicate 
ID error at that time.

By default, option "Filter duplicate ID errors found in modular 
documents" (Options|Preferences, Tools|Validate section) is turned on. 
See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsOptions.html#validateOptions

This option is a *best-effort* implementation which attempts to hide 
false duplicate ID errors due to multiple inclusions of the same content.

If you turn it off, you'll see your actual duplicate ID error when 
you'll open the master document. However you may also see false 
duplicate ID errors.

I need to be able to reproduce the problem here at XMLmind, in order to 
give you a better diagnostic.
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to