My Oracle Support Banner

DBMS_METADATA.PUT Does Not Work With XMLType Input (Doc ID 3022665.1)

Last updated on OCTOBER 01, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A 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
Information in this document applies to any platform.

Symptoms

The Oracle Database PL/SQL Packages and Types Reference documents that DBMS_METADATA.PUT can take XMLType as INPUT document, but it does not work when called with one, see below.

When using the sample script from Example 24-7, the DBMS_METADATA.PUT works when passed a CLOB input document:

 

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.