Re: [xsl] () eq () vs () = ()

Subject: Re: [xsl] () eq () vs () = ()
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 30 Sep 2011 11:48:05 +0100
On 30 September 2011 10:54, Stefan Krause <stf@xxxxxxxx> wrote:
> To make the confusion complete, deep-equals((),()) returns true(), which is IMHO the most expected behavior.

heh so

() = () returns false

deep-equals((),()) returns true

That's interesting, I'm guessing it has to be a 'just because'
reason... unless its because, ahem, deep down everything is equal  :)

Fwiw, it applies to the other comparison operators too, eg () > ()
returns false, () ge () returns ().





-- 
Andrew Welch
http://andrewjwelch.com

Current Thread