Insert Into XMLTYPE Stored as Binary Fails with ORA-31061, ORA-19202, LPX-00217
Last updated on OCTOBER 11, 2012
Applies to:Oracle Server - Enterprise Edition - Version 184.108.40.206 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms