W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2002

RE: Date and duration arithmetic

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Thu, 17 Jan 2002 12:48:28 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210622B90F@daemsg02.software-ag.de>
To: "'Jeni Tennison'" <jeni@jenitennison.com>, www-xpath-comments@w3.org, www-xml-query-comments@w3.org
> In Section 2.5 (Arithmetic Expressions) of the XPath 2.0 WD, rule 5
> states that if the two operands are of different types, one is
> promoted to the type of the other, following the rules in the F&O WD.
> 
> How does this fit in with arithmetic involving dates and durations? I
> think that this is supposed to be (and should be!) supported by
> operators, since the F&O WD defines op:get-duration,
> op:get-end-dateTime and op:get-start-dateTime in the 'operators'
> namespace.
> 
Jeni, this is an enormous hole in the current specs that we are well aware
of. But thanks anyway!

Mike Kay 
Received on Thursday, 17 January 2002 06:48:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:54 GMT