My Oracle Support Banner

How To Manually Recompile Invalid XML SCHEMA Objects in the Database (Doc ID 760175.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 3-Feb-2015***
Checked as Top Hit 10-NOV-2011


Goal

You query the DBA_OBJECTS to check for invalid objects after a patch application or an upgrade and you notice that there are invalid XML SCHEMA objects in the database, e.g. -

 

select object_name, object_type, status from dba_objects where status != 'VALID';

OBJECT_NAME OBJECT_TYPE STATUS
------------------------------ ------------------- -------
XDh1jUheYAR5PgNAgAILJCxg== XML SCHEMA INVALID
XDDDi4w1Lsh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1Mlh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1NLh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1N9h57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1Onh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1Phh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1QTh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDDDi4w1Qkh57gQAKKt/Z0Lw== XML SCHEMA INVALID
XDPeZQ5YsNBSjgQB+sbg9GiQ== XML SCHEMA INVALID

This note provides steps for how to manually compile such invalid XML SCHEMA objects in the database.
So this only applies to XML Schema objects which were valid before the patch application or upgrade.
Old invalid XML Schema objects can be removed as described in <Note 725838.1> How to Remove Invalid 'XML SCHEMA' Objects if Schema does not Exist

Solution

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
Goal
Solution
References

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