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

[Bug 7864] New: [XQuery 1.1] Unclear whether both user-defined and external functions can be both public and private

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Oct 2009 21:31:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-7864-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7864

           Summary: [XQuery 1.1] Unclear whether both user-defined and
                    external functions can be both public and private
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 1.1
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: jim.melton@acm.org
         QAContact: public-qt-comments@w3.org


In the WD of XQuery 1.1 currently being prepared for internal WG review, the
5th paragraph of Section 4.17, Function Declaration, says:

A function declaration may specify that a function is private or public (which
is the default). [Definition: A private function is hidden from module import,
which can not import it into the function signatures of another module. ]
[Definition: A public function is accessible to module import, which can import
it into the function signatures of another module. ]

EBNF production [31] allows, and the quoted paragraph suggests, that both
user-defined functions and external functions are allowed to be either private
functions or public functions.  However, an admittedly brief scan of the
minutes recording the acceptance of private functions did not reveal whether
the WG intended for this to be the case, or if only declarations of
user-defined functions were to have the option specified.


-- 
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 Friday, 9 October 2009 21:31:55 UTC

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