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=4331>. 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=4331 xsltc doesn't do copy-of select="@*" on xml:lang correctly Summary: xsltc doesn't do copy-of select="@*" on xml:lang correctly Product: XalanJ2 Version: 2.0.1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following was reported by Toni Penttinen [EMAIL PROTECTED] A following small test case shows how xml:lang is produced wrongly to the output. xml:file <?xml version="1.0" encoding="UTF-8"?> <doc id="1" class="mobile" xml:lang="en" > <text>Sample text</text> </doc> xsl:file <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="doc"> <document> <xsl:copy-of select="@*" /> </document> </xsl:template> </xsl:stylesheet> and wrongly produced output <?xml version="1.0" encoding="UTF-8" ?> <document id="1" class="mobile" xml:ml:@lang="en"/> regards, Toni
