Oracle Error Message
ORA-19162: XPTY0004 – XQuery type mismatch: invalid argument types ‘string’, ‘string’ for function ‘string’
Reason for the Error
The type of the arguments that were passed to the given function was not valid.
Solution
Fix the arguments to be of a type appropriate for the given function.