[Bug 14370] New: [XQuery30] editorial: 4.12 Module Import: variable name clash has no exception for 'private'

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

           Summary: [XQuery30] editorial: 4.12 Module Import: variable
                    name clash has no exception for 'private'
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XQuery 3.0
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


4.12 "Module Import" says:
"It is a static error if the expanded QName of a variable declared in an
imported module is equal (as defined by the eq operator) to the expanded QName
of a variable declared in the importing module or in another imported module
(even if the declarations are consistent) [err:XQST0049]."

I believe we intend that the error doesn't occur if the variable(s) declared in
the imported module(s) is/are private.

(Note that the appendix blurb for XQST0049 says:
    "It is a static error if two or more variables declared or imported by a
    module have equal expanded QNames (as defined by the eq operator.)"
which avoids this problem because private variables are not "imported".)

-- 
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 Tuesday, 4 October 2011 00:53:48 UTC