SYS.DBMS_XMLQUERY Package Body Invalid After Upgrade 11.2.0.3 (Doc ID 1572407.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

SYS.DBMS_XMLQUERY package body invalid after upgrade 11.2.0.3

After the upgrade to 11.2.0.3, this package body is invalid and won't validate.

select owner, object_name, object_type from dba_objects where status = 'INVALID' and owner not in ('SAPBP0SHD', 'SAPBP0');

OWNER OBJECT_NAME OBJECT_TYPE
------------------------------ ---------------------------------------- -------------------
SYS DBMS_XMLQUERY PACKAGE BODY

On view ALL_ERRORS:

SQL> select owner, name, text, message_number from all_errors where owner='SYS';

OWNER NAME TEXT
------ -------------- --------------------------------------------------------------------------------
SYS DBMS_XMLQUERY PLS-00593: default value of parameter "METATYPE" in body must match that of spec

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