[Bug 5857] [XSLT 2.0] A problem with namespace inheritance

https://www.w3.org/Bugs/Public/show_bug.cgi?id=5857

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |tim@cbcl.co.uk
         Resolution|FIXED                       |

--- Comment #12 from Tim Mills <tim@cbcl.co.uk> 2012-07-16 08:55:15 UTC ---
I hate to reopen this again, but I suspect that the expected result for bug04
is now wrong.

The expected result is:

<out xmlns="http://abc.uri/" xmlns:z="http://z.uri/" changed="2004-04-06">
<z:a xmlns="" a-foo="a-bar"></z:a>
<z:b b-foo="b-bar"></z:b>
<c c-foo="c-bar"></c><
/out>

This comes from:

<xsl:variable name="tmp">
<z:a a-foo="a-bar" />
<z:b b-foo="b-bar"/>
<c c-foo="c-bar" />
</xsl:variable>

so I'm at a loss to explain why <z:a> ends up with xmlns="", while <z:b>
doesns't.  I suspect that neight <z:a> nor <z:b> should have the xmlns="".

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 16 July 2012 08:55:20 UTC