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

Re: XML APIs

From: Jonathan Robie <jonathan@texcel.no>
Date: Tue, 03 Nov 1998 14:36:54 -0500
Message-Id: <3.0.3.32.19981103143654.00c97970@pop.mindspring.com>
To: Arnaud Le Hors <lehors@w3.org>
Cc: DOM List <www-dom@w3.org>
Let me make sure I understand all the issues involved to make iterators
stable while structures are changed. I think I need to do at least the
following:

1. Make next() an atomic operation for an iterator, so that the structure
is assumed not to change during a next().

2. Ensure that an iterator knows when the position to which it refers
becomes invalid.

In addition it would be useful to be able to use locks to ensure that
structures are not changing.

Is that sufficient? 

Jonathan
 
jonathan@texcel.no
Texcel Research
http://www.texcel.no
Received on Tuesday, 3 November 1998 14:36:15 GMT

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