ORA-31000 "Resource "xml.xsd" is not an XDB schema document" reported during upgrade from 10g to 11g

(Doc ID 1332116.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1.0 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 3-Nov-2014***

Symptoms

When checking upgrade from 10g to 11g with script utlu112s.sql, the following error message is shown:


ORA-31000: Resource "xml.xsd" is not an XDB schema document
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 117
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 78
ORA-06512: at line 19

Changes

Changes done:

- XDB is installed in the database
- The database has another schema which has a duplicate namespace "xml.xsd".  So there are two namespaces for "xml.xsd".  One for XDB, and one for another schema.
- After the upgrade, the error above was reported from script "utlu112s.sql".

Cause

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