[Bug 2789] Substitutability of duration subtypes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2789





------- Additional Comments From mrys@microsoft.com  2006-02-01 15:05 -------
In the expression

xs:duration(xdt:dayTimeDuration("P365D"))   
       eq   
xs:duration(xdt:yearMonthDuration("P1Y"))   

both the static and dynamic type of the two values will be xs:duration (the 
cast changes the dynamic type as well). So I do not see your problem....

Received on Wednesday, 1 February 2006 15:06:12 UTC