[Bug 29209] [xslt30] Template rules within xsl:override

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

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
Condition 2 above fails to allow for default-mode. So the proposed text
becomes:

If the parent of the xsl:template element is an xsl:override element, then one
or both of the following conditions must be true:

1. there is a name attribute, and the package identified by the containing
xsl:use-package element contains among its components a named template whose
symbolic identifier is the same as this named template, and which has a
compatible signature.

2. there is a match attribute, and one of the following conditions is true:

2a. There is a mode attribute that contains a list of tokens each of which is
the name of a mode that is exposed, with visibility equal to *public*, by the
package identified by the containing xsl:use-package element.

2b. There is an ancestor-or-self element having a default-mode attribute whose
value is the name of a mode that is exposed, with visibility equal to *public*,
by the package identified by the containing xsl:use-package element.

Note: #unnamed is not allowed because the unnamed mode never has public
visibility. The token #all is not allowed because its intended meaning is not
obvious.

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

Received on Thursday, 22 October 2015 10:53:35 UTC