- From: Michael Brundage <xquery@comcast.net>
- Date: Fri, 4 Jul 2003 11:55:21 -0700
- To: "'Ashok Malhotra'" <ashokma@microsoft.com>, <public-qt-comments@w3.org>
Ashok, equality does not require a total ordering. Only gt/ge/lt/le require an ordering. Also you've already defined eq and ne for every other type (or supertype), including those that are not totally ordered. (For example, xs:QName and xs:NOTATION.) xs:duration is the only type omitted. Thanks, michael -----Original Message----- From: Ashok Malhotra [mailto:ashokma@microsoft.com] Sent: Tuesday, July 01, 2003 9:09 AM To: Michael Brundage; public-qt-comments@w3.org Subject: RE: Missing duration equality That's deliberate! Equality is not defined on xs:duration because it has a partial order. Equality is defined only on the two fully ordered subtypes of xs:duration -- xdt:dayTimeDuration and xdt:yearMonthduration. All the best, Ashok > -----Original Message----- > From: public-qt-comments-request@w3.org [mailto:public-qt-comments- > request@w3.org] On Behalf Of Michael Brundage > Sent: Tuesday, July 01, 2003 7:57 AM > To: public-qt-comments@w3.org > Subject: Missing duration equality > > > May 2, XQuery draft, section B.2 (Operator Mapping) > > The table is missing entries for eq and ne applied to the xs:duration > type. > > > > > > Michael Brundage > xquery@comcast.net > > Writing as > Author, "XQuery: The XML Query Language" (Addison-Wesley, to appear 2003) > Co-author, "Professional XML Databases" (Wrox Press, 2000) > > not as > Technical Lead > Common Query Runtime/XML Query Processing > WebData XML Team > Microsoft >
Received on Friday, 4 July 2003 14:49:38 UTC