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