ORA-30937: No schema definition for 'redefine' when registering XML schema

(Doc ID 2417618.1)

Last updated on JUNE 29, 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
'http://www.w3.org/2001/XMLSchema') 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">


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 hundreds of Community platforms