Oracle Message ORA-19177 - FORX0004: invalid replacement string

ERRORFORX0004: invalid replacement string
CAUSEAn error occurred during the processing of the XQuery expression.
ACTIONCheck the detailed error message for the possible causes.