W3C XQuery Standard Equivalent: err:XPTY0117
Message Text
Namespace sensitive cast: variable1 cast as variable2
Cause
An expression or declaration attempted to cast a node to a namespace sensitive type like xs:QName and types derived from xs:NOTATION.
Response
Use fn:data() or fn:resolve-QName() instead.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.