[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Re: determining ID-ness in XML

  • From: Elliotte Rusty Harold <elharo@m...>
  • To: "Bullard, Claude L (Len)" <clbullar@i...>
  • Date: Mon, 29 Oct 2001 19:46:50 -0400

RE:  Re: determining ID-ness in XML
At 4:44 PM -0600 10/29/01, Bullard, Claude L (Len) wrote:


>Yes, I've seen problems with not knowing something is an ID but 
>the answer has been, find the Schema or DTD?  What, no schema 
>or DTD?  Then why do you care?  Well I need to know if these 
>are unique?  Isn't that a processor issue of local scope? Yes. 

No, you've wandered off the point here. That's not really why we care. We care because we're trying to link to named things. The uniqueness comes out of the need to link to something, but more than anything else what we need is the way to link to it. It would not be a disaster if instead of xml:id we had a potentially non-unique xml:name that could still be linked to. As is the case with XPath based XPointers, such a link might point to multiple discontiguous nodes. So there are good reasons to want xml:name/xml:id to have a unique value within a document.

Nonetheless uniqueness alone is not driving this discussion. The use-case that calls out for this is, as Tim Bray has pointed out, linking to elements in a manner that is most likely to survive document edits. This requires the ability to attach linkable names to elements. And we can certainly care about this when there's no DTD or schema in sight. 
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      | 
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.