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 14375 - [XPath30] editorial: does a module have a static context?
Summary: [XPath30] editorial: does a module have a static context?
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.0 (show other bugs)
Version: Working drafts
Hardware: All All
: P2 minor
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: 2011-10-04 05:04 UTC by Michael Dyck
Modified: 2012-06-07 22:06 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Dyck 2011-10-04 05:04:50 UTC
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.
Comment 1 Michael Kay 2011-10-04 07:51:15 UTC
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."
Comment 2 Michael Dyck 2012-03-26 05:19:00 UTC
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.
Comment 3 Jonathan Robie 2012-06-07 22:06:08 UTC
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