Project

Profile

Help

Cannot cast to xdt:anyAtomicType

Added by Anonymous almost 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


Replies (1)

RE: Cannot cast to xdt:anyAtomicType - Added by Anonymous almost 19 years ago

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&amp;aid=1251789&amp;group_id=29872&amp;atid=397617 MK

    (1-1/1)

    Please register to reply