Oracle Error ORA-19242: XQST0022 – namespace declaration attribute must be a literal

Oracle Error Message

ORA-19242: XQST0022 – namespace declaration attribute must be a literal

Reason for the Error

The namespace declaration attribute was not a literal string.

Solution

Fix the namespace declaration to be a literal string.