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

Re: id() doesn't work!?

Subject: Re: id() doesn't work!?
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Sun, 25 Aug 2002 19:32:14 +0200
Re:  id() doesn't work!?
On Sun, Aug 25, 2002 at 12:16:56PM -0500, W. Eliot Kimber wrote:
> However, in my XPointer implementation, I cannot provide that natural
> fallback behavior. That means that lots of authors will have to rewrite
> their pointers from bare names to "//*[@id='name']" in order to make
> their documents work--that seems wrong and avoidable to me.
> But at the same time, the XPointer spec had little choice: it would be
> wrong for that spec to impose the name "id" on users (XML could do it
> because it's defining the markup language and individual document types
> can do it, but an after-the-fact support mechanism like XPointer cannot)
> and codifying even a standard fallback behavior would potentially lead
> to subtle, non-intuitive failures (or lack of failure when failure is
> expected) when 'id' was not in fact an ID attribute in a particular
> document.

  yes, I think Eve Maler raised the case of existing DTDs where "id"
attributes were not of type ID <grin/> .

> I think that the only answer to this problem is for the community of XML
> users to agree on a convention for IDs and pointers and for it to be
> codified in XML 2.0 or some such. I would be perfectly happy if "id"
> always meant "ID" and "href" always meant "URI-based pointer". I think

  Last time I suggested xml:id on xml-dev I got "roasted", I'm not
gonna try again :-( . 


Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@xxxxxxxxxx  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
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.