Hi JAXP experts,

please review a fix for a new issue regarding namespace handling in Xalan with 
xsl:element.

Bug: https://bugs.openjdk.java.net/browse/JDK-8168664
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8168664.0/

I'm not 100% sure if this is the right way to go or if it would break some 
correct behavior elsewhere. But I think the current behavior is either not 
correct or at least it is not required to generate new xsl namespace prefixes 
if the namespace comes in as URI only to an xsl:element node. The 
interpretative transformer from the Apache Xalan project will also produce the 
expected output, different to the compiled XSLTC here.

In the webrev, my changes to XslElement.java are only cosmetical/comments, the 
behavior does not change. In BasisLibrary.java I also took the opportunity to 
remove the $Id tag and the unused method "nodeList2IteratorUsingHandleFromNode".

If you think my change is good, I'll also add a test that runs the 
transformation which can be found in the bug...

Thanks & best regards
Christoph

Reply via email to