Re: XML APIs

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 UTC