My Oracle Support Banner

XMLSAVEDOM FAILS WITH ERROR 20 WHEN CLOB IS 1999 OR 2000 BYTES (Doc ID 2153283.1)

Last updated on MARCH 05, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Cloud Schema 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
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

XML data saved in a database clob datatype column and after retrieving the data from the database, application calls the Oracle provided library xmlSaveDom() to parse it into a buffer_string and it will fail with error 20 where length of data is 1999 or 2000 bytes.


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.