Oracle Error ORA-31169: Number of children (string) defined in ‘string’ exceeds maximum (string)

Oracle Error Message

ORA-31169: Number of children (string) defined in ‘string’ exceeds maximum (string)

Reason for the Error

An attempt was made to define more than the allowed number of children in a complexType of an XMLSchema document.

Solution

Modify the XML Schema to move children of complexType into subelements that are not inlined.