XML Parsing Failed using Extract functions After Upgrade From 9.2.0.8 To 10.2.0.5

(Doc ID 1329741.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.5 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

The behavior of the extract function (XML) changes from Oracle 9i and Oracle 10gR1 to 10gR5.The extract works well in 9i and 10gR1, Although the same statement fails in 10gR5.

EXTRACTVALUE(VALUE(U),'ELEMENT1@ATTR1','XMLNS:XSI="HTTP://MY.COM"')
Is giving an error:

ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing

Cause

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