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

RE: Node.isEqualNode

From: Zeljko VELAJA <zvelaja@visualfriendly.com>
Date: Tue, 7 May 2002 15:49:49 +0200
To: <www-dom@w3.org>
Message-ID: <000701c1f5ce$0ea66ae0$2e00000a@visual.com>
Yet cloning a node with CloneNode's argument "deep" set to false will
perform no cloning of the children (except for an Attribute). This is
clearly specified. On the over side, as regards the contract of isEqualNode,
the specification does not seem to consider a node's children equality as
facultative and argument dependant  ??

-----Message d'origine-----
De : www-dom-request@w3.org [mailto:www-dom-request@w3.org]De la part de
Joseph Kesselman
Envoye : mardi 7 mai 2002 15:26
A : www-dom@w3.org
Objet : Re: Node.isEqualNode

The intent is that the "deep" parameter of isEqualNode is like the
corresponding flag on cloneNode. If  false, only the two nodes explicitly
passed as parameters (and maybe their attributes; I'd have to check that)
will be compared. If true, those nodes and all their children wil be

Joe Kesselman  / IBM Research
Received on Tuesday, 7 May 2002 09:49:55 UTC

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