Oracle Message ORA-19262 - XQST0042 - namespace constructor not inside an element constructor

ERRORXQST0042 - namespace constructor not inside an element constructor
CAUSEThe enclosing expression of a computed namespace constructor was not a computed element constructor.
ACTIONFix the namespace constructor to be inside an element constructor.