W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > March 2004

Can XInclude Processors Rewrite IDs and References?

From: Eliot Kimber <ekimber@innodata-isogen.com>
Date: Sat, 13 Mar 2004 22:48:36 -0600
Message-ID: <4053E424.6030807@innodata-isogen.com>
To: www-xml-xinclude-comments@w3.org

I am implementing XInclude processing in XSLT by generating a new single 
result document in memory. This means that I'm not literally creating a 
new info set.

In my use cases it is essentially a certainty that IDs will be 
duplicated among the member documents included (because otherwise it 
would be necessary to make IDs unique across all possible documents, 
which is neither practical nor, in the abstract, necessary).

Therefore I must rewrite IDs and their references.

I want to confirm that my reading of the 10 November Working Draft 
allows this processing. In particular, I intepret the 3rd bullet under 

   o The result infoset has ID clashes - that is, more than one 
attribute with attribute type ID with the same normalized value. In this 
case, attributes with attribute type IDREF or IDREFS with the same 
normalized value might have different values for their references 

as indicating that the effective target of references to duplicated IDs 
will be to the original elements (as included), that is, that "might 
have different values for their reference properties" is the infoset 
equivalent of ID rewriting.

Is my interpretation correct?


W. Eliot Kimber
Professional Services
Innodata Isogen
9030 Research Blvd, #410
Austin, TX 78758
(512) 372-8122

Received on Sunday, 14 March 2004 17:36:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:57 UTC