Casting from xdt:_numeric_ to xs:integer
Replies (1)
Please register to reply
Added by Anonymous almost 19 years ago
Legacy ID: #3488383 Legacy Poster: marcvc (marcvc)
Michael, Consider the following query: let $s := sum(doc("integer.xml")//integer) return xs:integer($s) Since Saxon 8.6 it fails statically with error message: XPTY0004: Casting from xdt:numeric to xs:integer can never succeed Thanks, Marc
Legacy ID: #3489039 Legacy Poster: Michael Kay (mhkay)
Thanks, this bug has been logged at https://sourceforge.net/tracker/?func=add&group_id=29872&atid=397617 Michael Kay
Please register to reply