W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2017

[Bug 30044] New: xsl:evaluate access to private functions

From: <bugzilla@jessica.w3.org>
Date: Wed, 11 Jan 2017 21:34:08 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30044-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30044

            Bug ID: 30044
           Summary: xsl:evaluate access to private functions
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Test evaluate-006 uses xsl:evaluate to evaluate an expression containing a
reference to f:square, which is a function declared in the containing
stylesheet. But it has no visibility attribute, which means it is implicitly
private, and xsl:evaluate says that the static context for the dynamic
expression includes:

all user-defined functions present in the containing package provided their
visibility is not hidden or private;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 11 January 2017 21:34:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:03 UTC