XML Schema Registration Fails with "ORA-31085: schema <XML Schema Name> already registered" Error (Doc ID 1592461.1)

Last updated on OCTOBER 01, 2016

Applies to:

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

Symptoms

Registering XML Schema failed with following errors:

BEGIN
dbms_xmlschema.registerSchema
(
'UsageV2R31.xsd',
xdbURIType('/home/WH/papinet/xsd/UsageV2R31.xsd').getClob(),
TRUE,FALSE,FALSE,TRUE
);
END;

ORA-31085: schema "UsageV2R31.xsd" already registered
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 72
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 33
ORA-06512: at line 2

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