ORA-19161: XPTY0004 -XQuery type mismatch: invalid argument type 'string' for function 'string' Cause: The type of the argument that was passed to the givenfunction was not
valid. Action: Fixthe argument to be of a type supported by the given function.