DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20920>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20920 xsl:element adds namespace nodes it should not Summary: xsl:element adds namespace nodes it should not Product: XalanJ2 Version: CurrentCVS Platform: All OS/Version: Other Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.templates AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] xsl:element adds namespace nodes as if it were a literal result element. This is not correct. The following namespace conformances test are broken because they rely on this behavior: namespace55 namespace62 namespace68 namespace75 namespace80 namespace81 namespace82 namespace84 namespace90 namespace91 namespace92 namespace93 namespace94 namespace96 namespace97 namespace100 I have patched Xalan-C, so it would be great if we could get these conformance tests fixed ASAP. Here is a patch for Xalan-J: cvs -z9 diff ElemElement.java (in directory V:\xml- xalan\java\src\org\apache\xalan\templates\) Index: ElemElement.java =================================================================== RCS file: /home/cvs/xml- xalan/java/src/org/apache/xalan/templates/ElemElement.java,v retrieving revision 1.32 diff -r1.32 ElemElement.java 401,405d400 < // Add namespace declarations. < // Bugzilla 13414: do not startPrefixMapping on 'prefix' < // as it is handled below < executeNSDecls(transformer, prefix); < 430,432d424 < // Bugzilla 13414: do not endPrefixMapping on 'prefix' < // as it is handled above < unexecuteNSDecls(transformer, prefix);
