This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I believe the results of test namespace-0301 depend on the ordering of attribute nodes, which is implementation-dependent. We effectively do <foo> <xsl:for-each select="@*"> <xsl:attribute name="local-name()" select="."/> </xsl:for-each> </foo> The input element contains several attributes with the same local name, and the result will contain the value from the last of these in processing order, which is unpredictable.
Fixed by sorting the attributes by namespace URI (the expected result happens to be unchanged).