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

Last updated on APRIL 11, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.2.0 - Release: 11.1 to 11.2
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

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