This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
The latest spec no longer uses XQST0107 (except as an orphaned entry in the error codes appendix)
Good point. Assigning as a bug against the specification.
(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. ]
Just the orphaned error code.
I'll delete the orphaned error code.