Oracle Error ORA-38457: The attribute “string” is not a valid XMLType attribute.

Oracle Error Message

ORA-38457: The attribute “string” is not a valid XMLType attribute.

Reason for the Error

An attempt was made to use a non-XMLType attribute to configure XPath filtering.

Solution

Use an attribute of sys.XMLType datatype to configure XPath filtering.