Oracle Error OCI-31056: The document being inserted does not conform to string

Oracle Error Message

OCI-31056: The document being inserted does not conform to string

Reason for the Error

The XMLType element being inserted into the RESOURCE_VIEW does not conform to the specified Schema

Solution

Insert an element which conforms to the specified Schema