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

Traversl NodeIterator detach method

From: R. Mark Volkmann <mark.volkmann@home.com>
Date: Sun, 8 Oct 2000 18:51:54 -0400 (EDT)
Message-ID: <001801c0317a$fdae3ec0$8d971618@schrls1.mo.home.com>
To: <www-dom@w3.org>
It might be a good idea to explain in the Traversal recommendation why
NodeIterator needs to have a detach method for releasing resources but
TreeWalker doesn't. In the Xerces implementation it seems that this is used
to change the fCurrentNode attribute (see NodeIteratorImpl.java) when the
Node it refers to is removed from the Document. It is unclear to me why
TreeWalker doesn't need the same thing.
Received on Wednesday, 11 October 2000 11:29:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC