W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2003

RE: Missing duration equality

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Tue, 1 Jul 2003 09:08:41 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB09242B1B@red-msg-12.redmond.corp.microsoft.com>
To: "Michael Brundage" <xquery@comcast.net>, <public-qt-comments@w3.org>

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 Tuesday, 1 July 2003 12:08:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:48 UTC