ORA-19122: unsupported XQuery declaration
Cause: The program specified an XQuery declaration that is not supported.
Action: Rewrite the XQuery with a declaration that is supported.
Error Type: ORA
Record: 1/1