W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2005

[Bug 1848] [XQuery] Module Imports

From: <bugzilla@wiggum.w3.org>
Date: Tue, 16 Aug 2005 18:01:38 +0000
To: public-qt-comments@w3.org
Message-Id: <E1E55ko-0000of-JX@wiggum.w3.org>


------- Additional Comments From mike@saxonica.com  2005-08-16 18:01 -------
While on the topic, it would be useful to clarify whether a module that imports
its own namespace is allowed to contain forwards references to its own global
variables. You can read the spec either way on this: on the one hand it says
forwards references to global variables aren't allowed; on the other hand it
says you can access all the global variables declared in a namespace that you've

It's a little odd if it isn't allowed: if cyclic references to variables are
allowed across modules, why not allow them within a module? It's also difficult
to explain (and implement!) that a module has access to all the global variables
in an imported namespace except those that are declared in the same module and
after the variable reference.
Received on Tuesday, 16 August 2005 18:01:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:07 UTC