<div dir="ltr"><div>Hi Hempushpa,</div><div><br></div><div>What you describe appears to be this issue: <a href="https://bugs.openjdk.org/browse/JDK-8168664">JDK-8168664</a>.</div><div><br></div><div>-Archie<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 27, 2024 at 12:29 AM Hempushpa Sahu <<a href="mailto:Hempushpa.Sahu@ibm.com">Hempushpa.Sahu@ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg7958989170225713105">
<div lang="EN-IN" style="overflow-wrap: break-word;">
<div class="m_7958989170225713105WordSection1">
<p class="MsoNormal">Problem Description : <u></u><u></u></p>
<p class="MsoNormal">XSLT transformation creating unique namespace prefixes.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Analysis & Observation : <u></u><u></u></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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Our investigation into the OpenJDK code led us to defect <a href="https://bugs.openjdk.org/browse/JDK-8167179" target="_blank">
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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Releases:<u></u><u></u></p>
<p class="MsoNormal">OpenJDK 8, 11, 17 & 22 the issue is seen.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Next steps: <u></u><u></u></p>
<p class="MsoNormal">Please review and suggest if the above understanding is right. And please suggest solution to resolve the issue.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">NOTE:<u></u><u></u></p>
<p class="MsoNormal">Please find the attachment with below files-<u></u><u></u></p>
<p class="MsoNormal">XML file - sourceFile.xml<u></u><u></u></p>
<p class="MsoNormal">XSL file - ie_si_to_spe.xsl<u></u><u></u></p>
<p class="MsoNormal">Current output - sourceFile-test-transform.xml<u></u><u></u></p>
<p class="MsoNormal">Expected output - sourceFile-expected-transform.xml<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Archie L. Cobbs<br></div>