Bug 14375 - [XPath30] editorial: does a module have a static context?
[XPath30] editorial: does a module have a static context?
Status: RESOLVED FIXED
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.0
Working drafts
All All
: P2 minor
: ---
Assigned To: Jonathan Robie
Mailing list for public feedback on specs from XSL and XML Query WGs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-04 05:04 UTC by Michael Dyck
Modified: 2012-06-07 22:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


  翻译: