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

Re: Question on NodeList and client-server

From: John Cowan <cowan@locke.ccil.org>
Date: Fri, 16 Oct 1998 13:32:01 -0400
Message-ID: <36278311.A014DAC4@locke.ccil.org>
To: DOM List <www-dom@w3.org>
keshlam@us.ibm.com wrote:

> Unfortunately the spec doesn't say deletion won't be handled -- and in fact
> deletion may occur without multithreading -- so fully complying
> implementations of NodeList have to support it.

Doubtless.  But you can treat all deletion operations as atomic w/r/t
access operations.  You need not be concerned with seeing an
inconsistent state of the nodes.

This does mean, however, that you cannot use firstChild and looping on
nextSibling to traverse the children of a node, I think.

-- 
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 Friday, 16 October 1998 13:30:32 GMT

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