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

Henry:
Thanks for your comment.

In fact, the first alternative you mention in your note is what is
intended.
I've clarified the wording to make in clearer.

All the best, Ashok

-----Original Message-----
From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Henry Zongaro
Sent: Tuesday, February 17, 2004 5:45 PM
To: public-qt-comments@w3.org
Subject: [F&O] IBM-FO-106:
fn:subtract-dateTimes-yielding-yearMonthDuration - "maximum number of
months" is imprecise


[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?

Thanks,

Henry
[Speaking on behalf of reviewers from IBM.]
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com

Received on Monday, 29 March 2004 18:01:53 UTC