-20340 XML SCHEMA xmlschema-name INCLUDES AT LEAST ONE XML SCHEMA DOCUMENT IN NAMESPACE namespace THAT IS NOT CONNECTED TO THE OTHER XML SCHEMA DOCUMENTS
Explanation
The XML schema identified by identifier xmlschema-name includes multiple XML schema documents. At least one of these XML schema documents is not connected to the other XML schema documents registered to this XML schema.
System action
The XSR_COMPLETE call fails with this SQLCODE.
Programmer response
Correct the XML schema documents, or add a new XML schema document, so that all XML schema documents in an XML schema are connected using import, include, or redefine, beginning from the primary schema document. Use SYSPROC.XSR_REMOVE to remove the invalid schema and re-invoke the XSR stored procedures to register it with the corrected and/or new XML schema documents.
SQLSTATE
22534