Oracle Error ORA-19244: XQTY0024 – invalid attribute node in element constructor

Oracle Error Message

ORA-19244: XQTY0024 – invalid attribute node in element constructor

Reason for the Error

The content sequence in an element constructor contained an attribute node following a node that was not an attribute node.

Solution

Change the content sequence of the element constructor so that it does not contain the attribute node.