Oracle Error OCI-31040: Property string: XML type (string) not compatible with internal memory type (string)

Oracle Error Message

OCI-31040: Property string: XML type (string) not compatible with internal memory type (string)

Reason for the Error

The XML datatype given is inconsistent with the database datatype, and a conversion cannot be made.

Solution

This is an internal error, generally resulting from corruption of the compiled XML schema. Re-register schemas, or contact Oracle support.