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 JULY 17, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 10.2 and later ]
Information in this document applies to any platform.
Checked for Relevance on 30-Aug-2010


After upgrade from Oracle 9i, code using dbms_xmldom.writetoclob fails with ORA-31020
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


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