Project

Profile

Help

div operator on xdt:dayTimeDuration

Added by Anonymous about 19 years ago

Legacy ID: #3321999 Legacy Poster: marcvc (marcvc)

Michael, this is obviously a detail... It seems that Saxon (both 8.5 and 8.5.1) evaluates to an xs:double, where it should be xs:decimal, dividing xdt:dayTimeDurations. (xdt:dayTimeDuration("P2000D") div xdt:dayTimeDuration("P10D")) instance of xs:decimal, (xdt:dayTimeDuration("P2000D") div xdt:dayTimeDuration("P10D")) instance of xs:double gives false, true Thanks, Marc


Replies (1)

RE: div operator on xdt:dayTimeDuration - Added by Anonymous about 19 years ago

Legacy ID: #3322545 Legacy Poster: Michael Kay (mhkay)

Thanks for pointing this out, it will be fixed in the next release. Michael Kay

    (1-1/1)

    Please register to reply