On, Modifying XML Fails with ORA-31011, LPX-00217: Invalid Character 187 (U+00bb)

(Doc ID 1338543.1)

Last updated on FEBRUARY 21, 2013

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
***Checked for relevance on 22-Feb-2013***


On, attempting to modify an XML file with InsertChildXmlAfter or AppendChildXml fails with the following errors:

ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 187 (U+00BB)
Error at line 51
ORA-06512: at line 30  

The database character set is AL32UTF8
The document character set is UTF8

This error does not occur if the old parser is used. 


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