W3C home > Mailing lists > Public > www-dom@w3.org > January to March 1999

RE: Level 2 iterators

From: Miles Sabin <msabin@cromwellmedia.co.uk>
Date: Fri, 5 Mar 1999 17:08:29 -0000
Message-ID: <c=US%a=_%p=Cromwell_Media%l=ODIN-990305170829Z-17101@odin.cromwellmedia.co.uk>
To: "'John Cowan'" <cowan@locke.ccil.org>, "'DOM List'" <www-dom@w3.org>
John Cowan wrote,
> Actually, there is no guarantee that walking
> the tree yourself with parent, child, and sibling 
> attributes doesn't lead you into a cul-de-sac
> either, when arbitrary tree mutations are going
> on.

Err ... then 'don't do that' (TM).

Seriously tho', that sort of issue should be
resolved by defining the semantics of the
DOM under mutations from arbitrary threads.

For my money those semantics should be
defined as 'undefined', and synchronization
should be achieved via the use of synchronized
wrappers (as seen in the Java2 collections
API).

Cheers,


Miles

-- 
Miles Sabin                          Cromwell Media
Internet Systems Architect           5/6 Glenthorne Mews
+44 (0)181 410 2230                  London, W6 0LJ
msabin@cromwellmedia.co.uk           England
Received on Friday, 5 March 1999 12:16:22 GMT

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