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=4983>. 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=4983 xsltc applies default namespace to both output elements in conf test namespace105 Summary: xsltc applies default namespace to both output elements in conf test namespace105 Product: XalanJ2 Version: 2.0.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] According to Morten: XSLTC is incorrect while Xalan and Saxon are both correct. The element causing us hassle is: <xsl:element namespace="" name="foo" xmlns="other.com"> <yyy/> </xsl:element> The namespace="" attribute sets the namespace for the output <foo> element to the null namespace (empty URI), while the default namespace - which should be applied to the <yyy> element - is set to "other.com". XSLTC incorrectly applies the "other.com" to both the output elements. Here's a little test session that shows what Xalan does and what XSLTC does: Running xalan on namespace105 <?xml version="1.0" encoding="UTF-8"?> <out xmlns="testguys.com"><foo xmlns=""><yyy xmlns="other.com"/></foo></out> Running XSLTC with Xerces Parser on namespace105 <?xml version="1.0" encoding="UTF-8" ?> <out xmlns="testguys.com"><foo xmlns="other.com"><yyy/></foo></out>
