Oracle Message ORA-19159 - FODC0005: invalid argument to fn: doc

ERRORFODC0005: invalid argument to fn: doc
CAUSEAn error occurred during the processing of the XQuery expression.
ACTIONCheck the detailed error message for the possible causes.