My Oracle Support Banner

The DBMS_XMLSTORAGE_MANAGE.XPath2TabColMapping Fails When Run By User Other Than the Table Owner (Doc ID 3067077.1)

Last updated on JANUARY 10, 2025

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Gen 2 Exadata Cloud at Customer - Version N/A and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

The PL/SQL procedure DBMS_XMLSTORAGE_MANAGE.XPath2TabColMapping can be used to find the names of the underlying tables and columns that correspond to a given XPath expression.  However, it fails with errors when run by a user other than the table owner, see below:

Given these two tables under the TAB_OWNER schema. SHIPORDERS1, a xmlType table, and SHIPORDER2, a table with a xmlType column named DOC:

Changes

 

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