Start of change

-16083 INCOMPATIBLE EXPRESSION-TYPE EXPRESSIONS EXIST IN THE XQUERY-UPDATE-CONSTANT IN THE XMLMODIFY FUNCTION. QNAME=err:error-name.

Explanation

The xquery-update-constant in the XMLMODIFY function includes multiple expression-type expressions that operate on the same target node. These basic updating expressions are not compatible, because the result would be non-deterministic, based on the order of processing the expression-type expressions.

error-name
An error identifier that indicates the reason why the expression is not valid.
XUTY0016
The expression-type is a replace expression, and there exist at least two replace expressions, without keyword values specified, that apply to the same target node.
XUTY0017
The expression-type is a replace value of expression, and there exist two or more replace expressions, with keyword values specified, that apply to the same target node.

System action

The XQuery expression cannot be processed.

Programmer response

Change the expression in the xquery-update-constant in the XMLMODIFY FUNCTION to ensure that no two expression-type expressions have the same target node.

SQLSTATE

10704

End of change