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 2965 - Should modules-two-import.xq raise XQST0047?
Summary: Should modules-two-import.xq raise XQST0047?
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: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 15:26 UTC by Marc Van Cappellen
Modified: 2006-05-17 22:16 UTC (History)
0 users

See Also:


Attachments

Description Marc Van Cappellen 2006-03-02 15:26:05 UTC
modules-two-import.xq reads as follows:

(: insert-start :)
import module namespace test1="http://www.w3.org/TestModules/test1";
import module namespace test1="http://www.w3.org/TestModules/test1";
declare variable $input-context external;
(: insert-end :)
<result>{test1:ok()}</result>

An implementation might, before detecting the error condition XQST0047, report 
XQST0033. Do note that the same prefix is bound twice in the query.
Now, rather than adding XQST0033 as a valid error for the test, we would 
propose to make sure the XQST0033 error condition doesn't occur. I.e. use a 
different prefix for the second module import.

Thanks,
Marc
Comment 1 Carmelo Montanez 2006-03-10 22:52:09 UTC
Marc:

Good point.  Modified test to use a different prefix.  Please close the bug 
if in agreement and when able to verify.

Carmelo
Comment 2 Marc Van Cappellen 2006-05-17 22:16:19 UTC
verified and looks ok