Oracle Message ORA-19227 - XPTY0007 - fn: data function is applied to a node (type (string)) whose type annotation denotes a complex type with non-mixed complex content.

ERRORXPTY0007 - fn: data function is applied to a node (type (string)) whose type annotation denotes a complex type with non-mixed complex content.
CAUSEThe input node for atomization contained a type annotation that denoted a complex type with non-mixed complex content.
ACTIONFix the input expression to fn: data to be a node that does not contain non-mixed complex content.