Start of change

-16087   THE RESULT OF APPLYING THE UPDATING EXPRESSIONS IN THE XMLMODIFY FUNCTION IS NOT A VALID INSTANCE OF THE XQUERY AND XPATH DATA MODEL. ADDITIONAL INFORMATION: information-1, information-2. ERROR QNAME=err:XUDY0021.

Explanation

The result of applying the updating expressions contained in the XMLMODIFY function would result in an invalid instance of the XQuery and XPath data model.

information-1 and information-2
Additional information that was provided, which can help identify the constraint violation in the XQuery and XPath data model instance.

System action

The XQuery expression cannot be processed.

Programmer response

Modify the updating expressions in the XMLMODIFY function to ensure that the resulting instance of the XDM is correct.

SQLSTATE

10707

End of change