<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Problem Description : <o:p></o:p></p>
<p class="MsoNormal">XSLT transformation creating unique namespace prefixes.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Analysis & Observation : <o:p></o:p></p>
<p class="MsoNormal">When upgrading from Java 8 to Java 17, the XSLT transformation is generating a new namespace prefix for every XML element, even when the namespace value matches that of the parent element. This leads to large XML file transformations exceeding
the file size and memory limits on our systems.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The behaviour in OpenJDK has remained consistent since JDK 8; however, the namespace prefix issue is not something we find acceptable.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Our investigation into the OpenJDK code led us to defect <a href="https://bugs.openjdk.org/browse/JDK-8167179">
https://bugs.openjdk.org/browse/JDK-8167179</a>, which addressed the namespace prefix issue in the OpenJDK 8 release. Despite this, we are still able to reproduce the issue in OpenJDK versions 8, 11, 17, and 22.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Releases:<o:p></o:p></p>
<p class="MsoNormal">OpenJDK 8, 11, 17 & 22 the issue is seen.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Next steps: <o:p></o:p></p>
<p class="MsoNormal">Please review and suggest if the above understanding is right. And please suggest solution to resolve the issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">NOTE:<o:p></o:p></p>
<p class="MsoNormal">Please find the attachment with below files-<o:p></o:p></p>
<p class="MsoNormal">XML file - sourceFile.xml<o:p></o:p></p>
<p class="MsoNormal">XSL file - ie_si_to_spe.xsl<o:p></o:p></p>
<p class="MsoNormal">Current output - sourceFile-test-transform.xml<o:p></o:p></p>
<p class="MsoNormal">Expected output - sourceFile-expected-transform.xml<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>