Oracle Error ORA-19252: XQST0032 – too many declarations for base URI

Oracle Error Message

ORA-19252: XQST0032 – too many declarations for base URI

Reason for the Error

The query prolog contained multiple declarations for the base URI.

Solution

Remove the duplicate definitions for the base URI.