[Bug 8873] Scope of static context components is inconsistently defined

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8873


Jonathan Robie <jonathan.robie@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Jonathan Robie <jonathan.robie@redhat.com>  2010-02-03 15:30:59 ---
The simplest fix may be to define the scope of components in terms of the
static context of the expressions found in a given scope.


http://www.w3.org/TR/xquery-11/#id-xq-static-context-components

Existing text:

> Scope: Indicates where the component is applicable. "Global"
> indicates that the component applies globally, throughout all the
> modules used in a query. "Module" indicates that the component
> applies throughout a module. "Lexical" indicates that the component
> applies within the expression in which it is defined (equivalent to
> "module" if the component is declared in a Prolog.)

Here's what it looks like if we define this in terms of the expressions found
in a given scope:

If the scope is "Global", then every expression in the query shares
the component. If the scope is "Module", then every expression in the
module shares the component. If the scope is "Lexical", then the
component is associated with the expression in which it is defined.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 3 February 2010 15:31:04 UTC