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 2939 - Missing namespace declarations in predicates tests
Summary: Missing namespace declarations in predicates tests
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ravindranath (Ravi) Chennoju
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 00:19 UTC by Marc Van Cappellen
Modified: 2006-06-17 20:27 UTC (History)
1 user (show)

See Also:


Attachments

Description Marc Van Cappellen 2006-02-25 00:19:40 UTC
We believe that the following tests are missing the namespace declaration 
xmlns:foo="http://www.example.com/foo".
This namespace declaration attribute must be in the expected result as the root 
element of the input document specifies it.

predicates-1.xq
predicates-3.xq
predicates-4.xq
predicates-5.xq
predicates-8.xq
predicates-9.xq
predicates-11.xq
predicates-12.xq
predicates-13.xq
predicates-14.xq

Regards,
Marc
Comment 1 Marc Van Cappellen 2006-02-25 00:25:27 UTC
similar for fn-union-node-args-017.xq
Comment 2 Carmelo Montanez 2006-03-16 15:16:31 UTC
Mark:

Thanks.  I have no idea how that namespace got there.  I see no use for it.
However, given that other tests may be affected by this, I went ahead
and added the namespace to results rather than removing it alltogether.

Ravi, I also changed the test that affect you.

Please close the bug if in agreement and able to verify.

Thanks,
Carmelo
Comment 3 Marc Van Cappellen 2006-05-16 21:15:11 UTC
We have the impression taht the expected output of fn-union-node-args-017 is not yet correct (see comment #1). As such we reopen this bug.

The output for fn-union-node-args-017 is missing the following namespace attribute declaration for both the atomic:string and the atomic:integer elements:
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

FYI, note for example that this namespace attribute is correctly available in the expected result of fn-union-node-args-016

Thanks,
Marc
Comment 4 Carmelo Montanez 2006-05-17 13:48:13 UTC
Marc:

Thanks for the message.  Assigning bug to Ravir for action.

Thanks,
Carmelo

Comment 5 Ravindranath (Ravi) Chennoju 2006-05-17 18:35:20 UTC
Fixed fn-union-node-args-017.txt
Comment 6 Marc Van Cappellen 2006-06-17 20:27:27 UTC
I confirm this is resolved in XQTS 0.9.4