A unique ID question ?
W. Eliot Kimber
eliot at isogen.com
Sun Nov 7 02:49:31 GMT 1999
This is why external parsed entities ("external text entities" in SGML
parlance) are evil and should never have been included in XML.
The only complete and managable solution to this problem is to manage
each component as a complete and independent document and combine them
together *semantically* using something like XLink or HyTime's value
reference facility (explicit use-by-reference as distinct from
Patrice Bonhomme wrote:
> I was wondering if the value of an ID attribute has to be unique within a
> document or only within a fragment. The pb is that i have a master document
> that contains some external system entities and each of the entity is a
> fragment that contains some ID attributes. If my processor includes all the
> fragments it may happen that some ID attributes have the same value.
> What do i have to do ? Provide an IDentificstion schema that should avoid ID
> value clash or rename each of the attribute when i include each fragment to
> avoid the clash (with a prefix for example) ?
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev