This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In F "Error Conditions", the blurb for XQST0099 is out-of-date. A ContextItemDecl must not occur after an expression that relies on the initial context item, and no query may contain more than one ContextItemDecl. The first two lines should be deleted; they became obsolete with the introduction of "depends on the context item" and err:XQST0107. In the third line, change "query" to "module". (And perhaps reword it to get rid of the word "may".)
Nice catch.The fix will show up in the next build.