My Oracle Support Banner

Using XMLType.transform(), the Namespace Attribute is Added Twice (Doc ID 2226206.1)

Last updated on MARCH 24, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On 11.2.0.4, when transforming an xml stream by using a stylesheet, the namespace is added twice.

 

--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

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.