Re: [xsl] Identity transform (case conversion)

Subject: Re: [xsl] Identity transform (case conversion)
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sat, 8 Jul 2006 07:38:49 +0530
Thanks Mike for your comments.

Can you please clarify whether this is a bug with Xalan-J 2.7.0:

This instruction is not generating the namespaces in the output
<xsl:copy-of select="current()//namespace::*" />

(Saxon 8.7.3 and MSXML 4.0 do generate the namespaces)

Regards,
Mukul

On 7/8/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> But this predicate doesn't work as expected, with MSXML.
> MSXML outputs
> xmlns:auto-ns1="http://www.w3.org/xml/1998/namespace"; in the
> absence of this predicate.

That sounds like a nasty bug, because the XML namespaces spec states that
the only prefix you can bind to this namespace URI is the prefix "xml".
However, the workaround would be to test the namespace URI rather than the
prefix.

Michael Kay
http://www.saxonica.com/

Current Thread