[Bug 5224] [XQuery] Dynamic context in global variable initializers

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





------- Comment #2 from jonathan.robie@redhat.com  2008-01-08 17:19 -------
At least several implementations do define the initial context before the
prolog is executed, and our whole discussion of expression evaluation presumes
the initial context.

I propose we make this explicit as follows:

<old>
[Definition: The dynamic evaluation phase is the phase during which the value
of an expression is computed.] It occurs after completion of the static
analysis phase.
</old>

<new>
[Definition: The dynamic evaluation phase is the phase during which the value
of an expression is computed.] It occurs after completion of the static
analysis phase and after the initial context has been created. The dynamic
evaluation phase includes evaluation of dynamic expressions in the prolog,
followed by evaluation of the query body.
</new>

Received on Tuesday, 8 January 2008 17:19:07 UTC