- From: <bugzilla@farnsworth.w3.org>
- Date: Thu, 29 May 2008 09:39:44 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5722 Summary: Importing the same module from different modules. Product: XPath / XQuery / XSLT Version: Candidate Recommendation Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: XQuery AssignedTo: chamberl@almaden.ibm.com ReportedBy: oliver@cbcl.co.uk QAContact: public-qt-comments@w3.org Assume a module M declaring a variable $v as <a/>. Then assume modules A and B both importing M, and exposing functions f() returning $v. Finally assume a query importing modules A and B. Should "A:f() is B:f()" evaluate to true? As far as I can tell this is implementation defined, since the import statement itself imports an implementation-defined set of modules (and so it is implementation defined whether it imports the same module as before, or a copy). On the other hand the specification states that "Each module has its own static context", but this still doesn't say whether the two imports should be considered as the same module.
Received on Thursday, 29 May 2008 09:40:32 UTC