My Oracle Support Banner

DML Handler with DBMS_STREAMS.CONVERT_LCR_TO_XML(IN_ANY) fails with ORA-31021 (Doc ID 1186153.1)

Last updated on JANUARY 21, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.2.0 [Release 11.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

DML handler with DBMS_STREAMS.CONVERT_LCR_TO_XML(in_any) fails with error

ORA-31021: Element definition not found


lcr_xml XMLType;
lcr_xml := DBMS_STREAMS.CONVERT_LCR_TO_XML(in_any);

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