My Oracle Support Banner

Catqm.sql = ORA-2303 (Doc ID 1311029.1)

Last updated on APRIL 15, 2014

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.5 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

Oracle XML Database (XDB) was successfully deinstalled via catnoqm.sql per the steps in Note 1292089.1 "Master Note for Oracle XML Database (XDB) Installation".  The database was shutdown and restarted. When attempting to reinstall XDB, catqm.sql fails with the following errors:

...
SQL> @@catxlcr1.sql
...
SQL> create or replace package lcr$_xml_schema as
2
3 CONFIGURL VARCHAR2(2000) :=
4 'http://xmlns.oracle.com/streams/schemas/lcr/streamslcr.xsd';
...
324 </element>
325 </schema>';
326 end;
327 /

Package created.

SQL>
SQL>
SQL> begin
2 dbms_xmlschema.registerSchema(schemaURL => lcr$_xml_schema.CONFIGURL,
3 schemaDoc => lcr$_xml_schema.CONFIGXSD_10101,
4 local => FALSE,
5 genTypes => TRUE,
6 genBean => FALSE,
7 genTables => FALSE,
8 force => FALSE);
9 end;
10 /
begin
*
ERROR at line 1:
ORA-02303: cannot drop or replace a type with type or table dependents
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at line 2
...

Cause

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

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


In this Document
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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