On inserting XML documents having characters from "&#128" to "&#159" fails with parsing errors LPX-217, ORA-31011, OCI-31011

(Doc ID 2018267.1)

Last updated on JUNE 08, 2015

Applies to:

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


After upgrade from to we see the following error when loading XML documents

ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 150 (U+0096)
Error at line 1
ORA-06512: at "SYS.XMLTYPE", line 48

This issue did not exist in


Database has been upgraded from to


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