W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2012

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Jul 2012 08:55:15 +0000
Message-Id: <E1Sqh5H-0002Dw-Ca@jessica.w3.org>
To: public-qt-comments@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC