-16048 AN XQUERY PROLOG CANNOT CONTAIN MORE THAN ONE declaration-type DECLARATION. ERROR QNAME = error-qname
Explanation
An XQuery prolog contained more than one declaration of a particular type.
- declaration-type
The type of declaration. Only one declaration of the indicated type is permitted in the XQuery prolog. Possible declaration values include:
- copy-namespaces
- default element namespaces
- boundary-space
- error-qname
- The XML qualified name (QName) static error, such as err:XQST0055, err:XQST0066, and err:XQST0068.
System action
The XQuery expression cannot be processed.
Programmer response
Remove extra declarations from the prolog.
SQLSTATE
10502