Oracle Error Message
OCI-30991: cannot use DOM to add special attribute to schema-based parent
Reason for the Error
An attempt was made to add or remove an xsi:schemaLocation, xsi:noNamespaceSchemaLocation, xsi:type, or xsi:nil attribute to or from a schema-based XML node using DOM.
Solution
Use the updateXML operator instead of DOM.