USING XMLTYPE.TRANSFORM() ADDS NAMESPACE ATTRIBUTE TWICE ON 11.2.0.4

(Doc ID 2274942.1)

Last updated on JUNE 20, 2017

Applies to:

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

Symptoms

Transforming an XML stream by using a stylesheet on 11.2.0.4 adds NAMESPACE attribute twice

Results:

 -11.2.0.3 database
@line 20
PRE {margin:0px; display:inline}
</STYLE><SCRIPT xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<!--
@line 148
</SCRIPT>
<div class="st" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<DIV class="e">

--11.2.0.4 database
@line 20
PRE {margin:0px; display:inline}
</STYLE>
<!--
@line 148
<SCRIPT xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"/>
<div class="st" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<DIV class="e">

--12.1.0.2 database
@line 20
PRE {margin:0px; display:inline}
</STYLE><SCRIPT xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
@line 148
</SCRIPT>
<div class="st" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<DIV class="e">

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