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

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 UTC