- From: <bugzilla@jessica.w3.org>
- Date: Tue, 11 Feb 2014 20:47:53 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24307 --- Comment #4 from Michael Kay <mike@saxonica.com> --- 1. Added the rule: If the mode is unnamed, that is, if the <code>name</code> attribute is absent, then the <code>visibility</code> attribute if present <rfc2119>must</rfc2119> have the value <code>private</code>. 2. In the definition of "mode definition", changed "all the xsl:mode declarations in a stylesheet" to "all the xsl:mode declarations in a package". 3. In the introductory section of 3.6, the transformation to create an implicit package is affected also by the resolution of bug #24438, which drops support for xsl:stylesheet/xsl:use-package. The text towards the end of the section becomes: A package that does not itself expose any components or use any library packages may be written using a simplified syntax: the xsl:package element is omitted, and the xsl:stylesheet or xsl:transform element is now the outermost element of the stylesheet module. For compatibility reasons, all the named templates and modes declared in the package are made public. More formally, the principal stylesheet module of the top-level package may be expressed as an xsl:stylesheet or xsl:transform element, which is equivalent to the package represented by the output of the following transformation, preserving the base URI of the source: <xsl:transform version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:t="http://www.w3.org/1999/XSL/TransformAlias"> <xsl:namespace-alias stylesheet-prefix="t" result-prefix="xsl"/> <xsl:template match="xsl:stylesheet|xsl:transform"> <t:package version="{@version}"> <t:expose component="mode" names="*" visibility="public"/> <t:expose component="template" names="*" visibility="public"/> <xsl:copy-of select="."/> </t:package> </xsl:template> </xsl:transform> -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 11 February 2014 20:47:55 UTC