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

[Bug 13216] Expect result of the test Basics/EQNames/eqname-013.xq is incorrect

From: <bugzilla@jessica.w3.org>
Date: Mon, 11 Jul 2011 15:49:54 +0000
To: public-qt-comments@w3.org
Message-Id: <E1QgIk6-0004FO-MI@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13216

Benjamin Nguyen <benjie.nguyen@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Benjamin Nguyen <benjie.nguyen@gmail.com> 2011-07-11 15:49:54 UTC ---
(In reply to comment #0)
> The XQTS test Basics/EQName/eqname-013.xq:
> 
> <out xmlns="http://www.example.com/one">{
> (<my:a xmlns:my="http://www.example.com/ns/my"><my:b>42</my:b><b
> xmlns="">93</b></my:a>) / "":* + 5 
> }</out>
> 
> expects the result:
> 
>     <out>98</out>
> 
> while the correct result is:
> 
>     <out xmlns="http://www.example.com/one">98</out>
> 
> 
> Either the expected result can be changed, or the xmlns declaration form the
> <out/> element can be removed to fix it.

I agree with both solutions, I suggest changing the query, since I figure the
namespace around the out element was not meant to be tested.

-- 
Configure bugmail: http://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, 11 July 2011 15:49:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:13 GMT