W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[F&O] IBM-FO-106: fn:subtract-dateTimes-yielding-yearMonthDuration - "maximum number of months" is imprecise

From: Henry Zongaro <zongaro@ca.ibm.com>
Date: Tue, 17 Feb 2004 20:44:39 -0500
To: public-qt-comments@w3.org
Message-ID: <OF58CAB7D9.2779CE53-ON85256E3B.007B8D89-85256E3E.000994F7@ca.ibm.com>

[My apologies that these comments are coming in after the end of the Last 
Call comment period.]

Section 9.7.1

According to the first paragraph, "first the duration is calculated as the 
value of an xdt:dayTimeDuration in seconds. Then, starting from $arg2, the 
maximum number of months in the duration are calculated.  If there is a 
remaining number of days, they are discarded."

This description is not sufficiently precise.  Is the maximum number of 
months computed using the number of actual complete calendar months 
beginning from $arg2, or is it the maximum number of months that could be 
accommodated in that computed number of seconds, regardless of the 
starting point?  Or does month here refer to the time interval between a 
dateTime value and the dateTime value that would result from adding the 
duration P1M to it, as described in Section E.1 of XML Schema:  Datatypes?


[Speaking on behalf of reviewers from IBM.]
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
Received on Tuesday, 17 February 2004 20:44:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:18 UTC