[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A unique ID question ?
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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|