Insert Into XMLTYPE Stored as Binary Fails with ORA-31061, ORA-19202, LPX-00217
(Doc ID 1498052.1)
Last updated on JANUARY 17, 2020
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
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 Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
On a database using the AL32UTF8 characterset, inserting into an XMLType column fails with the following errors:
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
In line 19222 of orastream:
LPX-00217: invalid character 162 (U+00A2)
Statement which fails:
insert into MY_TABLE values (XMLType(bfilename('MY_COL', 'xxxxxxxxxxxx.xml'),nls_charset_id('AL32UTF8')));
The character (00A2) is a cent sign.
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