[Bug 6094] [FT] Constraints on score variables?

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


Mary Holstege <holstege@mathling.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Mary Holstege <holstege@mathling.com>  2008-10-30 18:50:53 ---
The WG discussed this issue at its meeting on 2008-10-30 and agreed.
The following text was added to the text in section 2.3 (Score Variables):

The scope of a score variable bound in a for or let clause comprises all
subexpressions of the containing FLWOR expression that appear after the
variable binding. The scope does not include the expression to which the
variable is bound. The for and let clauses of a given FLWOR expression may bind
the same score variable name more than once. In this case, each new binding
occludes the previous one, which becomes inaccessible in the remainder of the
FLWOR expression.

The expanded QName of a score variable bound in a for clause must be distinct
from both the expanded QName of the variable with which it is associated and
the expanded QName of any positional variable with which it is associated
[err:XQST0089]XQ.

Since you were present when the decision was made, we assume you agree and will
mark the bug as closed.


-- 
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 Thursday, 30 October 2008 18:51:01 UTC