Oracle Error ORA-19282: XQST0068 – It is a static error if a Prolog contains more than one xmlspace declaration

Oracle Error Message

ORA-19282: XQST0068 – It is a static error if a Prolog contains more than one xmlspace declaration

Reason for the Error

The query prolog contained multiple xmlspace declarations.

Solution

Remove the duplicate xmlspace declarations.