This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
(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.
This bug has been fixed in QT3