xquery-validate-expressions
xquery #xquery#validate-expressions
In this implementation, the
expression is not supported. The results of XQuery
construction expressions are always untyped. If the result of an XQuery expression should be
typed, use the SQL CAST expression to cast the result to an
data type with the preferred
schema collection.
Path Expressions (XQuery)
XQuery Expressions