My Oracle Support Banner

ORA-30937: No schema definition for 'redefine' when registering XML schema (Doc ID 2417618.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Standard Edition - Version and later
Information in this document applies to any platform.


Attempting to register an XML schema give the following error

ERROR at line 1:
ORA-30937: No schema definition for 'redefine' (namespace
'') in parent '/schema'
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 72
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 33
ORA-06512: at line 2

The XML schema is using "redefine" to redefine one of the schemas

<xs:redefine schemaLocation="schema_name.xsd">


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.