Subject: Re: [xsl] () eq () vs () = () From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 30 Sep 2011 09:39:05 -0400 |
>> 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.
To parapharse:
The sequences are the *same*, but no items in either sequence are equal.
Ok, that takes a little pondering, but I can get that.
So, now that () and () are the same, why does () eq () not return true?
-- Contact us for world-wide XML consulting and instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] () eq () vs () = (), Andrew Welch | Thread | Re: [xsl] () eq () vs () = (), G. Ken Holman |
Re: [xsl] () eq () vs () = (), Andrew Welch | Date | Re: [xsl] () eq () vs () = (), G. Ken Holman |
Month |