My Oracle Support Banner

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

Last updated on APRIL 12, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform. Checked as Top Hit 10-NOV-2011


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. -


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


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

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