Start of change

-16029   TWO OR MORE NAMESPACES WITHIN THE SAME XQUERY ELEMENT CONSTRUCTOR USE THE SAME NAMESPACE PREFIX prefix-name. ERROR QNAME=err:XQST0071

Explanation

The namespace prefix prefix-name cannot be used more than one time in a single XQuery element constructor. A prefix-name of "xmlns" indicates that more than one default namespace is specified in the XQuery element constructor.

prefix-name
The name of the namespace prefix that is not unique.

System action

The XQuery expression is not processed.

User response

No action is required.

Programmer response

Use unique namespace prefixes for local namespace declarations in the element constructor. Verify that the expression does not include more than one local namespace declaration that has no prefix.

SQLSTATE

10503

End of change