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

Re: Level 2 iterators

From: John Cowan <cowan@locke.ccil.org>
Date: Fri, 05 Mar 1999 15:56:43 -0500
Message-ID: <36E0450B.9A983118@locke.ccil.org>
To: DOM List <www-dom@w3.org>
Ray Whitmer wrote:

> > > NodeIterator, on the other hand, has no caching issues, because it only
> > > visits each node once.
> >
> > Not necessarily!

[snip]

> Could you point me to a part of the spec which you feel states that any node
> would only ever be visited once?

No.  I was merely taking issue with your claim that NodeIterators
necessarily visit nodes only once.

Indeed, there is no guarantee that iterators terminate.

-- 
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, 5 March 1999 15:57:07 GMT

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