- From: Ashok Malhotra <ashokma@microsoft.com>
- Date: Sat, 10 May 2003 09:19:06 -0700
- To: "Priscilla Walmsley" <priscilla@walmsley.com>, <public-qt-comments@w3.org>
Thanks! See below... All the best, Ashok > -----Original Message----- > From: public-qt-comments-request@w3.org [mailto:public-qt-comments- > request@w3.org] On Behalf Of Priscilla Walmsley > Sent: Saturday, May 10, 2003 6:00 AM > To: public-qt-comments@w3.org > > > On the distinct-values function: > > 1. Why does it matter if two values of the same type have a total order, > as long as they can be compared using eq? For example, QNames do not > have total order but you should be able to pick out distinct ones using > the eq/ne operators. [AM] Seems like a cut and paste error. I'll fix it. > > 2. It says that the order of the values returned is > implementation-dependent. However, it's not just the _order_ of the > values, but which values. In the example given, > > fn:distinct-values(1, 2.0, 3, 2) returns (1, 3, 2.0). > > The fact that it returns 2.0 rather than 2 is implementation dependent, > regardless of the order. I think this should be clarified. [AM] That's a very good point. I'll work on the wording. > > Thanks, > Priscilla >
Received on Saturday, 10 May 2003 13:22:43 UTC