My Oracle Support Banner

Change with DBMS_XMLDOM.writetoclob() Causes ORA-31020 With Plsql Programming Constructs Around XDB Functionality After Upgrade from 9i (Doc ID 553245.1)

Last updated on MARCH 28, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Checked for Relevance on 30-Aug-2010


Symptoms

After upgrade from Oracle 9i, code using dbms_xmldom.writetoclob fails with ORA-31020
declare
*
ERROR at line 1:
ORA-31020: The operation is not allowed, Reason: Invalid pl/sql lob locator
ORA-06512: at "XDB.DBMS_XMLDOM", line 867
ORA-06512: at "XDB.DBMS_XMLDOM", line 887
ORA-06512: at line 40



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.