W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 16 Jan 2008 18:04:00 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JFCcK-00074N-Re@wiggum.w3.org>

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





------- Comment #7 from jonathan.robie@redhat.com  2008-01-16 18:04 -------
Mike Kay wrote:

[quote]If the focus is not explicitly undefined, then I think it should be the
same as
for the QueryBody in the main module. I can't see any sense in making it
different in different modules - it would complicate the API immensely. (I
could see some logic in saying that the focus is explicitly undefined for
variable initializers in library modules: that could prevent some subtle bugs.)
[/quote]

I believe this was the sense of the discussion - the focus is the same as for
the QueryBody in the main module. Although it would make sense for the focus to
be undefined, at least some implementations currently define it, and at least
some users are taking advantage of this to set variables using the initial
focus.

Jonathan
Received on Wednesday, 16 January 2008 18:04:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:49 GMT