USING XMLTYPE.TRANSFORM() ADDS NAMESPACE ATTRIBUTE TWICE ON 11.2.0.4
(Doc ID 2274942.1)
Last updated on APRIL 12, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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
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 |