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 10695 - XQST0054 vs XQST0093
Summary: XQST0054 vs XQST0093
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 10:40 UTC by Michael Kay
Modified: 2013-06-11 11:21 UTC (History)
3 users (show)

See Also:


Attachments

Description Michael Kay 2010-09-23 10:40:32 UTC
Test modules-28 expects error XQST0093. It should also allow XQST0054.

err:XQST0054

It is a static error if a variable depends on itself.

err:XQST0093

It is a static error to import a module M1 if there exists a sequence of modules M1 ... Mi ... M1 such that each module directly depends on the next module in the sequence (informally, if M1 depends on itself through some chain of module dependencies.)

One could argue that XQST0093 is preferred because it is more specific; but XQST0054 certainly seems acceptable, and in the case of static errors, we should give processors the benefit of the doubt.
Comment 1 Michael Kay 2010-09-23 10:41:28 UTC
Also affects test errata8-001
Comment 2 O'Neil Delpratt 2013-06-11 11:21:52 UTC
Closing bug issue as it has been resolved in QT3 for modules-28 (note XQ10) and its equivalent test case for XQ30 (see module-28a). 

For test case errata8-001 - I have added the the error code 'XQST0054'.