W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Re: DOM Level 2 needs getElementById method

From: <keshlam@us.ibm.com>
Date: Thu, 7 Oct 1999 09:35:06 -0400
To: www-dom@w3.org
Message-ID: <85256803.004A9EFC.00@D51MTA03.pok.ibm.com>
>fair to catorgise the discussion on this point and others as between
>software developers who are constructing software that implements DOM
>representations rather than by software developers who wish to use DOM
>representations for other application purposes?

I think it's just a matter of IDs having been considered a DTD issue, and
DTD/Schema support not yet having been addressed. Everyone's very aware of that
need.

>The interpretation of
>the attribute which was an IDref could then be as a reference to
>another element directly.

If your document edits the DOM, finding and maintaining pointers inside
scattered nodes is a bit harder than changing a central indirection table. I can
make arguments for either approach depending on the characteristics of an
individual application set. Implementation detail rather than DOM design, though
we may want to consider leaving room for that optimization when designing the
API.

______________________________________
Joe Kesselman  / IBM Research
Received on Thursday, 7 October 1999 09:35:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT