W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2535] One empty sequence is deep-equal to another, but they are not =

From: <bugzilla@wiggum.w3.org>
Date: Fri, 18 Nov 2005 22:46:21 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EdEzt-0000AF-ML@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2535





------- Additional Comments From mike@saxonica.com  2005-11-18 22:46 -------
deep-equal() does not imply =.

Consider an element A that has a complex type with element-only content.
deep-equal(A, A) is true, but A=A gives an error.

There are other exceptions to your proposed rule, for example NaN.

Michael Kay
Received on Friday, 18 November 2005 22:46:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT