-16251   DUPLICATE ANNOTATION DEFINED FOR object-name AT OR NEAR location IN XML SCHEMA DOCUMENT uri

Explanation

There is more than one annotation for object-name in the annotated XML schema. A duplicate annotation has been found for this object at or around location in XML schema document uri. The XML schema document can be determined by matching uri to the SCHEMALOCATION column of table SYSIBM.XSROBJECTCOMPONENTS.

System action

The XML schema is not enabled for decomposition. The XSR_COMPLETE invocation fails with this SQLCODE.

Programmer response

Correct the annotated XML schema by removing the duplicate annotation from the XML schema documents of the XML schema.

SQLSTATE

225DE