LPX-214 Error From DBMS_XMLSTORE When Inserting XML Documents Special Characters Like 0x0 in CDATA (Doc ID 1998576.1)

Last updated on APRIL 13, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

On 11.2.0.3 storing XML documents containing special characters like 0x0 fails with parser error although we put this data into CDATA section and expect that CDATA section is not interpreted, but it seems it is

ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00214: CDATA section did not end in "]]>"
ORA-06512: at "SYS.DBMS_XMLSTORE", line 78
ORA-06512: in "CWP.APPLYPAYLOADDATA", line 12

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