Cannot cast to xdt:anyAtomicType
Replies (1)
Please register to reply
Added by Anonymous over 19 years ago
Legacy ID: #3279528 Legacy Poster: marcvc (marcvc)
Michael, Behaviour we see with Saxon 8.5 Consider the following query (te use of the cast is useless in this example, but it is smallest reproducible we were able to come up with): <e a="{'1' cast as xs:integer}"/> With Saxon 8.5 this results in the folloiwng error: Cannot cast to xdt:anyAtomicType Previous versions of Saxon evaluate to: <e a="1"/> Thanks, Marc
Legacy ID: #3279739 Legacy Poster: Michael Kay (mhkay)
Thanks for reporting this. An explanation of the problem, and a source fix, are at https://sourceforge.net/tracker/index.php?func=detail&aid=1251789&group_id=29872&atid=397617 MK
Please register to reply