Re: Implementing NodeList

Back on 1998-07-26, Don Park wrote:

> The solution is quite simple for the needs of the DOM Core API:  Let the
> Node itself be the NodeList so its live and updated as the node changes.
> Spiritual explanation is that 'Live' implies 'Being' (?!?).  The problem of
> synchronizing multiple instances of NodeList is best solved by having only
> instance.

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.

-- 
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 Tuesday, 18 August 1998 13:33:08 UTC