Hi,

Problem affected in current cvs version.

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 


Reply via email to