Oracle Message ORA-19140 - XPST0083: It is a static error if the target type of a cast expression or constructor function is xs: QName or a type derived from xs: QName or xs: NOTATION, and the argument of the cast expression or constructor function is not a string literal

ERRORXPST0083: It is a static error if the target type of a cast expression or constructor function is xs: QName or a type derived from xs: QName or xs: NOTATION, and the argument of the cast expression or constructor function is not a string literal
CAUSEAn error occurred during the processing of the XQuery expression.
ACTIONCheck the detailed error message for the possible causes.