Oracle Error ORA-19290: XQST0069 – more than one empty order declaration declared in the prolog

Oracle Error Message

ORA-19290: XQST0069 – more than one empty order declaration declared in the prolog

Reason for the Error

A prolog had more than one empty order declaration.

Solution

Fix the prolog to have just one empty order declaration.