My Oracle Support Banner

ORA-31011, ORA-19202 and LPX-240 from XML Query (Doc ID 1596080.1)

Last updated on APRIL 22, 2019

Applies to:

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

Symptoms

Getting below error -

select XMLTRANSFORM (<COLUMN_NAME>)
from <TABLE_NAME>;

Error:
*
Error at line 2
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00240: element-start tag is not well formed
Error at line 1

This error is only coming in 11g but the same code runs fine in 10.2.0.4 and 10.2.0.5.

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.