My Oracle Support Banner

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

Last updated on FEBRUARY 08, 2017

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 (bald.ases_rec, pxri.xsl_prces_rule)
from api5afs.prces_xsl_rule_itm pxri,api5afs.bas_ases_log bald
where bald.wh_prces_dte = '31jul13'
and bald.intrfc_type_cde = 'A-BAS-GCD-SMG'
and bald.applic_fclty_id= 16866456
AND pxri.intrfc_type_cde = bald.intrfc_type_cde

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 39

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.