[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] () eq () vs () = ()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Sep 2011 13:58:01 +0100

On 30/09/2011 13:44, Andrew Welch wrote:
If () = () is false, then it's intuitive (to me) that deep-equal((),
()) is also false.  The one liner saying that it should be true just
seems like it could easily say false.

No, that would be wrong/confusing. deep-equal returns true because the sequences are the same, = returns false because no items in either sequence are equal.


David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________



Current Thread