[Bug 17272] [QT3TS] K-InternalVariablesWith-15b

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17272

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |mike@saxonica.com
         Depends on|                            |15791

--- Comment #1 from Michael Kay <mike@saxonica.com> 2012-05-31 14:05:28 UTC ---
I propose that we wait for the spec to settle down here as it is in flux.

The current spec contains some contradictory statements. It says (a) that a
variable declaration adds a variable "to the static context" (but the static
context of what?); it also says (b) "The static context for an initializing
expression includes all functions, variables, and namespaces that are declared
or imported anywhere in the Prolog, other than the variable being declared"
(which means the variable is out of scope, which implies a static error
XPST0008, regardless whether the variable is actually used), and (c) If the
initializer of a variable V depends on V, a static error is raised
[err:XQST0054].

-- 
Configure bugmail: https://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, 31 May 2012 14:05:39 UTC