[Bug 27300] [XSLT30] Simplified package visibility of components, esp. xsl:function

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27300

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
As regards the original bug and resolution, I think they stand: in an implicit
package, only templates and modes are made public, and the reason for this is
because in XSLT 2.0, these are the only components that need to be referenced
externally from an API.

Abel is right to correct me that xsl:use-package is now allowed as a child of
xsl:stylesheet.

In addition, given the definitions:

[Definition: An element occurring as a child of an xsl:stylesheet,
xsl:transform, or xsl:override element is called a top-level element.]

[Definition: Top-level elements fall into two categories: declarations, and
user-defined data elements. Top-level elements whose names are in the XSLT
namespace are declarations. 

xsl:use-package should clearly be classified as a declaration. I have fixed
this in the element syntax catalog.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 12 December 2014 17:32:43 UTC