Extracting a Text Node that is Larger than 8KB from inside a CDATA Section Produces Incorrect Result

(Doc ID 1593620.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Information in this document applies to any platform.


Extracting a text node that is larger than 8KB from inside a CDATA section produces incorrect result. Large chunks of the content are repeated.

Putting the cdata.xml to the directory and run the following SQL in SQL Developer and the output of the SQL is cdata_output.xml. The output data is duplicated.

SELECT XMLTYPE(BFILENAME('IQ_ROSE_DIR', 'cdata.xml'), nls_charset_id('AL32UTF8')).getClobVal() from dual;


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