W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: Implementing NodeList

From: John Cowan <cowan@locke.ccil.org>
Date: Wed, 19 Aug 1998 12:41:25 -0400
Message-ID: <35DB0035.1FB2E2BC@locke.ccil.org>
To: DOM List <www-dom@w3.org>
Don Park scripsit:

> >That works fine for child-type NodeLists, but not for the results of
> >getElementsByTagName, which must be live over a whole subtree.
> >Indeed, the current version of FreeDOM violates the spec and makes
> >this result static.
> You are right that the solution does not work for getElementsByTagName.  You
> are also right that FreeDOM's getElementsByTagName return static result.  My
> only excuse is that one can not violate what is not final <g>.  It will be
> fixed in the DOM SDK release.  Right now, I am just trying to select the
> least unattractive solution to swallow.

No, actually, I'm wrong, and it was you who pointed it out:


NodeLists generated by getElementsByTagName need not be live.

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Wednesday, 19 August 1998 12:41:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC