Hi Toni, Very good catch. I verified the problem with today's build and searched the conf test suite to see if there was a test for this. There was not. I'll file the bug and add the test to the conf test suite.
Tom Toni Penttinen wrote: > > 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
