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

Re: IDs considered harmful or why keys might be better than ID


Re:  IDs considered harmful or why keys might be better than ID
On Monday 12 November 2001 04:42 am, Eric van der Vlist wrote:
> On one hand, the concept of ID seems to be very useful and we obviously
> need unique IDs to avoid ambiguity.

My experience is that context is usually far more useful...

> RDBMs have been able to break through because in a sense, they've thrown
> IDs away... Or should I say, they've allowed (or imposed) to every query
> to specify the "IDs" to use in its where clause.
...
> To deal with the compexity and with the performance issues, RDBMS have
> invented indexes which are "out of band information" and XSLT has
> already dealt with this issue through keys:
>
> http://www.w3.org/TR/xslt#key

Right. The reason why I dislike the idea of special casing ID's is because in 
practice, I've found them to be of little value. The fragment-id discussion 
is a sideline issue to the core point: that you don't *need* ID-ness in order 
to process a document. Document context and unique (within a scope) attribute 
values suffice.



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.