This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2520 - Incorrect namespaces in result files
Summary: Incorrect namespaces in result files
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 18:57 UTC by Michael Kay
Modified: 2005-12-05 14:06 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-11-13 18:57:48 UTC
The following ten tests contain missing namespaces in the result files:

fn-union-node-args-015
fn-union-node-args-016
fn-intersect-node-args-015
fn-intersect-node-args-016
fn-except-node-args-017

The above results should declare the namespaces
xmlns:foo="http://www.example.com/foo"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Constr-cont-nsmode-1
Constr-cont-nsmode-2

For the above two tests, two possible result files are given. Only one of them
(the one labelled "-b") is correct.

Constr-cont-nsmode-4

In the above test, the namespace xmlns:p="http://www.example.com/p2.uri" should
not have been copied.

Constr-compelem-compname-13

In the above test, the namespace xmlns:foo="http://www.example.com/foo" should
be declared on the outermost <elem> element.

ns-queries-results-q7

the correct result for this query is:

<?xml version="1.0" encoding="UTF-8"?>
<Q7 xmlns:xlink="http://www.w3.org/1999/xlink">
   <ma:AuctionHomepage xmlns:ma="http://www.example.com/AuctionWatch"
                       xmlns:anyzone="http://www.example.com/auctioneers#anyzone"
                       xmlns:eachbay="http://www.example.com/auctioneers#eachbay"
                       xmlns:yabadoo="http://www.example.com/auctioneers#yabadoo"
                       xlink:type="simple"
                       xlink:href="http://auctions.yabadoo.com/auction/13143816"/>
</Q7>
Comment 1 Ravindranath (Ravi) Chennoju 2005-12-02 00:51:07 UTC
Fixed following test outputs.
fn-union-node-args-015
fn-union-node-args-016
fn-intersect-node-args-015
fn-intersect-node-args-016
fn-except-node-args-017

Assigning the bug to following test owner.
Constr-cont-nsmode-1
Constr-cont-nsmode-2
Comment 2 Andreas Behm 2005-12-02 23:49:44 UTC
fixed:
Constr-cont-nsmode-1
Constr-cont-nsmode-2
Constr-cont-nsmode-4
Constr-compelem-compname-13

left:
ns-queries-results-q7
Comment 3 Carmelo Montanez 2005-12-05 14:01:10 UTC
Submitted new results for "ns-queries-results-q7.xq" as suggested. Please close
bug if in agreement.

Carmelo