W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Missing exception in treeWalker

From: Jonas Sicking <sicking@bigfoot.com>
Date: Sun, 20 May 2001 15:12:48 +0200
Message-ID: <00a301c0e12e$9170ae00$d1ee42d5@kermit>
To: <www-dom@w3.org>
While implementing DOM2 traversal I think I've found a missing exception in
the treeWalker interface. When setting the currentNode shouldn't a
WRONG_DOCUMENT_ERR be raised if currentNode is set to a node in another

Otherwise a treeWalker could be created in one document and then used to
walk another document that has a compleatly different implementation.

/ Jonas Sicking
Received on Sunday, 20 May 2001 09:09:57 UTC

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