Oracle Solution for Error ora-30939

Solution for Oracle Error ORA-30939

ORA-30939: Order violation: Element 'string

' may not follow element 'string

'

What triggered the Error:

The XML schema specifies a content model that is sequential, where the order of nodes in the instance must follow the order specified by the schema, and this instance relies on the schema validity to avoid maintaining instance order information

What should we do to fix it:

Insert elements only in the order specified in the schema