Oracle Message ORA-19184 - FOTY0021: invalid node type

ERRORFOTY0021: invalid node type
CAUSEAn error occurred during the processing of the XQuery expression.
ACTIONCheck the detailed error message for the possible causes.