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 19290 - [XQ30] XQST0107
Summary: [XQ30] XQST0107
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 14:46 UTC by Tim Mills
Modified: 2012-10-09 16:10 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2012-10-05 14:46:42 UTC
This test expects

err:XQDY0054

    It is a dynamic error if a cycle is encountered in the definition of a module's dynamic context components, for example because of a cycle in variable declarations.

We are reporting:

err:XQST0107

    It is a static error if the initializer of the context item depends on the context item.

which also seems appropriate, and since it is a static error, I'd suggest it trumps XQDY0054.
Comment 1 Michael Kay 2012-10-05 15:58:39 UTC
The latest spec no longer uses XQST0107 (except as an orphaned entry in the error codes appendix)
Comment 2 Tim Mills 2012-10-05 16:02:49 UTC
Good point.  Assigning as a bug against the specification.
Comment 3 Jonathan Robie 2012-10-05 21:15:15 UTC
(In reply to comment #2)
> Good point.  Assigning as a bug against the specification.

Is the bug the presence of the orphaned error err:XQST0107? Or is there more to it than that?

You are allowed, of course, to report err:XQDY0054 during the static analysis phase.

[Definition: A dynamic error is an error that must be detected during the dynamic evaluation phase and may be detected during the static analysis phase. Numeric overflow is an example of a dynamic error. ]
Comment 4 Tim Mills 2012-10-06 06:09:27 UTC
Just the orphaned error code.
Comment 5 Jonathan Robie 2012-10-09 16:10:26 UTC
I'll delete the orphaned error code.