This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 30082 - [xslt30ts] initial-function tests: function must be public
Summary: [xslt30ts] initial-function tests: function must be public
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2017-03-28 14:05 UTC by Michael Kay
Modified: 2019-02-25 18:50 UTC (History)
1 user (show)

See Also:


Description Michael Kay 2017-03-28 14:05:07 UTC
The spec says: [ERR XTDE0041] It is a dynamic error if the invocation of the stylesheet specifies a function name and arity that does not match the expanded QName and arity of a named stylesheet function defined in the stylesheet, whose visibility is public or final.

Many of the tests in the initial-function test set fail to declare the visibility of the initial function, which is therefore private by default. I shall change these tests to use visibility="public" and add a new test for the error case.
Comment 1 Abel Braaksma 2017-03-28 16:13:53 UTC
I think these tests were written in the time that the default of declarations was public, when the visibility attribute was absent.

I agree with your proposal for fixing it, tx.
Comment 2 Abel Braaksma 2019-02-25 18:50:44 UTC
Related: #30398 and spec bug #30401.

Tx for the fix. Closing this bug, as it has been fixed for a while now.