[Bug 8873] [XQuery 1.1] 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|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Jonathan Robie <jonathan.robie@redhat.com>  2010-03-23 12:15:27 ---
I believe this is now fixed in the internal working draft:

http://www.w3.org/XML/Group/qtspecs/specifications/xquery-11/html/xquery-11.html#id-xq-context-components

[Definition: The scope of a component is the context in which the component is
associated with a value.] The following scopes are defined:

* [Definition: If a component has global scope, then every expression in the
query has the same value for that component, and it can not be overwritten by
the query module or by an expression.]

* [Definition: If a component has module scope, then every expression in a
given module has the same value for that component, and it can be overwritten
or augmented for a given module.]

* [Definition: If a component has lexical scope, then it is defined by a query
expression, and its scope is defined by the semantics of the expression that
defines it.]

* [Definition: If a component has dynamic scope, then it is defined by a query
expression, its scope is defined by the semantics of the expression that
defines it, and run-time evaluation may influence its value.]


-- 
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 Tuesday, 23 March 2010 12:15:29 UTC