Oracle Error ORA-19222: XPDY0002 – XQuery dynamic context component string not initialized

Oracle Error Message

ORA-19222: XPDY0002 – XQuery dynamic context component string not initialized

Reason for the Error

An unitialized dynamic context component was encountered during the evaluation of the expression.

Solution

Initialize the particular dynamic context component.