-16065 AN EMPTY SEQUENCE CANNOT BE CAST TO THE DATA TYPE data-type, ERROR QNAME = err:FORG0006
Explanation
A namespace declaration or namespace declaration attribute specifies a string value that is not a valid URI.
System action
The XQuery expression cannot be processed.
Programmer response
Specify a string value that is a valid URI. A valid URI must conform to the generic URI syntax specified by the World Wide Web Consortium (W3C).
SQLSTATE
10608