-20328   THE DOCUMENT WITH TARGET NAMESPACE namespace AND SCHEMA LOCATION location HAS ALREADY BEEN ADDED FOR THE XML SCHEMA IDENTIFIED BY schema name

Explanation

This error can occur while invoking the XSR_ADDSCHEMADOC stored procedure. There cannot be two documents with the same targetnamespace and schemalocation within an XML schema.

System action

The operation fails with this SQLCODE.

Programmer response

Change either the namespace or schemalocation of the document that is being added.

SQLSTATE

42749