OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: A unique ID question ?

[ Lists Home | Date Index | Thread Index ]
  • From: "W. Eliot Kimber" <eliot@isogen.com>
  • To: Patrice Bonhomme <Patrice.Bonhomme@loria.fr>
  • Date: Sat, 06 Nov 1999 20:51:03 -0600

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
hyperlinking).

Cheers,

E.

Patrice Bonhomme wrote:
> 
> Hi,
> 
> 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@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS