Duplicate entity and notation declarations

There may be entity references present in material collected from another document. While an XInclude processor may be blind to parsable entities processed by an underlying parser, it will always have to cope with binary entities. The relevant entity and notation declarations must be copied with the references into the document that contains the Include element, in order to ensure that the references can continue to be resolved within their new environment.

However, it is possible that a copied entity or notation declaration will have the same name as an entity or notation declaration that already exists in the source document. The XInclude application then needs to rename one of the declarations (and ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.