W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2010

[Bug 10978] [XQuery10] External variable declaration in main module with same name as another external variable in a library module

From: <bugzilla@jessica.w3.org>
Date: Wed, 06 Oct 2010 08:23:56 +0000
To: public-qt-comments@w3.org
Message-Id: <E1P3PI4-00076J-3L@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10978

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> 2010-10-06 08:23:55 UTC ---
Note that although we didn't make it normative, we did decide to supply
guidance on this question in Appendix J.2: 

"Although other interpretations are possible, it is suggested that in such
cases implementations should require the names of global variables and
functions to be unique within the query as a whole: that is, if two modules
with the same module URI participate in a query, the names of their global
variables and functions should not overlap."

(The "that is" should really be a "for example", since you have shown a
different way whereby two global variables can have the same name.)

-- 
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 Wednesday, 6 October 2010 08:23:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:44 UTC