[Bug 1998] Inconsistency wrt module import new text

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





------- Additional Comments From mike@saxonica.com  2005-09-08 12:56 -------
I agree (with Michael Dyck) - the spec says that when you import a namespace,
you import all modules for that namespace, and this applies whether it's your
own namespace or not. Of course, you can only import those modules that you know
about, but my interpretation is that this includes any modules reached
transitively. For example if A imports N at N1, and N1 imports N at N2, then I
think A has access to the variables and functions declared in N2, regardless
whether N is the namespace of A or not.

Michael Kay

Received on Thursday, 8 September 2005 12:56:46 UTC