Oracle Error ORA-19272: XQDY0052 – invalid atomic value in attribute or element constructor

Oracle Error Message

ORA-19272: XQDY0052 – invalid atomic value in attribute or element constructor

Reason for the Error

The content of the element or attribute constructor included an atomic value that could not be cast into a string.

Solution

Fix the content to contain atomic values that can be cast to a string.