div operator on xdt:dayTimeDuration
Replies (1)
Please register to reply
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
Legacy ID: #3322545 Legacy Poster: Michael Kay (mhkay)
Thanks for pointing this out, it will be fixed in the next release. Michael Kay
Please register to reply