Annotated XML schema decomposition can be made inoperative by DB2® under certain conditions or explicitly disabled by a user.
Condition | Action to re-enable decomposition |
---|---|
Table referenced in annotation is dropped | Remove the reference to the dropped table from the schema document, re-register the entire annotated schema, and enable the schema for decomposition |
Column referenced in annotation has its data type changed to a type that is compatible with the XML schema type | Re-enable the schema for decomposition by executing the ALTER XSROBJECT SQL statement with the ENABLE DECOMPOSITION option |
Column referenced in annotation has its data type changed to a type that is incompatible with the XML schema type | Adjust the annotations as required, re-register the entire annotated schema, and enable the schema for decomposition |
Document that belongs to the annotated schema changes | Re-register all of the documents that form that schema and enable the schema for decomposition |