This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In 10.3.1: >[Definition] xdt:yearMonthDuration is derived >from xs:duration by restricting its lexical >representation to contain only the year and >month components. The value space of >xdt:yearMonthDuration is the set of xs:integer >month values. The two sentences are contradictory. If xdt:yearMonthDuration is derived from xs:duration then its value space is necessarily a set of pairs, since that is what the value space of xs:duration is. The correct description of the value space is the set of pairs where the first coordinate is the set of integer month values and the second coordinate is zero. In addition, while the month property values of xs:duration are integers, they are not specified to be of type xs:integer. Schema has (??) adopted a simpler pattern for the derivation, which produces the same derived datatype. Dave Peterson for the XML Schema WG
Similar comment applies to xdt:dayTimeDuration Dave Peterson for the XML Schema WG
This was discussed by the joint QT WGs on 5/18/2005. They agreed that the model is different from the Schema model but as this did not affect the results of component extraction and the values returned by functions, no change was needed. Ashok Malhotra