This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
As mentioned in point (16) of Bug 10368 comment 0, the XQuery spec is inconsistent on whether a module has a static context. 4.12 "Module Import" plainly says: "Each module has its own static context." and yet 2.1.1 "Static Context" only talks about expressions having a static context.
I think "Each module has its own static context." is shorthand for "Many aspects of the static context of an expression are properties of the module in which the expression appears."
Re the change of this bug's Component from "XQuery 3.0" to "XPath 3.0": XPath 3.0 doesn't have modules, so it's not clear how the question is pertinent to XPath 3.0. Perhaps that should be explained.
The WG decided the answer is "yes", and accepted this proposal: https://lists.w3.org/Archives/Member/w3c-xsl-query/2012May/0118.html See: https://lists.w3.org/Archives/Member/w3c-xsl-query/2012May/0128.html