- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 27 Feb 2006 09:56:45 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2944 ------- Additional Comments From mike@saxonica.com 2006-02-27 09:57 ------- It was a conscious decision to design the functions like this. We named them years-from-duration() etc because the name is shorter and because we thought it likely that they might be extended one day to cover all durations. But we didn't want to cover all durations yet, because of difficulties in defining the semantics. Durations in XML Schema 1.0 are 6-tuples, which would suggest that years-from-duration(P24M) (excuse the shorthand) should return zero; while in XML schema 1.1, durations are 2-tuples, which would suggest that the same function returns 2. Michael Kay (personal response)
Received on Monday, 27 February 2006 09:56:53 UTC