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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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