RE: Node.isEqualNode

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
compared.

______________________________________
Joe Kesselman  / IBM Research

Received on Tuesday, 7 May 2002 09:49:55 UTC