Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-30938

no prefix defined for namespace 'xml_namespace' (particle particle_name)
  • xml_namespace: The XML namespace.
  • particle_name: The name of the element or attribute.

Cause

An XML namespace mapping (xmlns:prefix=namespace URL) was not defined for each particle (element or attribute) stored in a schema constrained XMLType document.


Action

Add an xmlns attribute definition (attribute name="xmlns:prefix" and value="namespace URL") to the current XMLType document. The safest place to add this attribute is in the root node of the document to ensure that the mapping will be in scope.