ORA-31011 ORA-19202 Error Occurred In XML Processing In Xmltransform After Upgrade (Doc ID 735409.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.
Checked for Relevance on 18-Oct-2010

Symptoms

This works in 10.1.0.5 and breaks in 10.2.0.4:

Trying to apply a stylesheet to an XMLinstance using xmltransform in
a select statement we get error:

select xmltransform(xmltype('<?xml version="2.0" encoding="UTF-8" standalone="yes"?>
<service>
<serviceHeader>
.
.
</serviceResponse>
</serviceBody>
</service>'),XSLT_DOC)
from OCC_REMARK_XSLT
WHERE XSLT_REC_ID=401
/


ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00605: Invalid attribute 'name' in element 'apply-templates'.

no rows selected


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