- From: <bugzilla@jessica.w3.org>
- Date: Fri, 21 Nov 2014 10:14:25 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27300 Michael Kay <mike@saxonica.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Michael Kay <mike@saxonica.com> --- Reviewed by the WG on 2014-11-20. The reason that we make named templates and modes public, but not other components, is for backwards compatibility. The purpose of "simplified packages" is to allow an XSLT 2.0 stylesheet to be used unchanged as a package. To allow the XSLT 2.0 styles of invocation using a named initial mode or a named initial template, the modes and templates must be public. XSLT 2.0 does not allow invocation using (for example) named functions) so we treat the functions as private. We should perhaps emphasize that when the simplified syntax is used, you are restricted to a single-package application. The implicit package cannot use any other packages because use-package cannot appear as a child of xsl:stylesheet, and it cannot be used by any other package because it has no package name. We are not proposing to make any technical change in response to this comment, though we will look at whether is scope for clearer explanations. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 21 November 2014 10:14:29 UTC