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


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