Re: DOM Level 2 needs getElementById method

>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 UTC