This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This is a follow-up to today's decision on casting xs:duration to string (bug 1292) in which we decided that an xs:duration of P24M should convert to the string P2Y. This raises the question, what is the value of years-from-duration(xs:duration('P24M')). Is it 0 or 2? We don't seem to have any text or examples to tell us the answer. Extrapolating from the behavior of xdt:yearMonthDuration suggests the answer is 2, but we should say so explicitly. Michael Kay
This was discussed during the joint WG meeting on 5/17/2005 and it was decided that no change was required. Ashok Malhotra