Oracle Error OCI-30940: Cannot resolve prefix ‘string’ for QName node ‘string’

Oracle Error Message

OCI-30940: Cannot resolve prefix ‘string’ for QName node ‘string’

Reason for the Error

An attempt was made to store a QName value without having a valid namespace in scope for that prefix.

Solution

Declare the namespace for the prefix used