W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > December 2004

Re: [tagsoup-friends] getElementById

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sun, 05 Dec 2004 05:33:27 -0500
Message-ID: <41B2E3F7.6030801@metalab.unc.edu>
To: tagsoup-friends@yahoogroups.com, www-xml-xinclude-comments@w3.org

John Cowan wrote:

> That's definitely not the case: TagSoup reports id attributes on all
> elements as being of type ID.  So the problem is downstream of TagSoup,
> and I don't know where.  My guess would be that the implementation of
> identity transforms does not preserve the IDness of @id.

I recently discovered that almost everything to do with IDs is broken by 
design in DOM2. (Why does that not surprise me?) The practical impact is 
that it is impossible to implement a fully-conformant XInclude processor 
  in pure DOM2. You have to use implementation-dependent methods or 
leave out support for XPointers that depend on ID-type attributes.

Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
Received on Sunday, 5 December 2004 10:33:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:57 UTC