[Bug 29827] [XSLT 3.0] Error XTDE0045 revisited

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
After long discussion in the WG, Abel proposed a resolution here

https://lists.w3.org/Archives/Public/public-xsl-wg/2016Nov/0006.html

and this was accepted in principle by the WG.

I have drafted the rules slightly differently, to depend on the value of
declared-modes rather than on whether the stylesheet had an explicit
xsl:package element (this is because I don't want to break the equivalence
whereby a stylesheet rooted with xsl:stylesheet is transformed into one rooted
with xsl:package). In the refactored rules, a mode M is eligible as the initial
mode if any of the following conditions is true:

1. M is explicitly declared in an xsl:mode declaration, and is public or final;

2. M is the unnamed mode.

3. M is named in the default-mode attribute of the top-level module.

4. M  is declared in a used package and is accepted as public or final in the
top-level package.

5 declared-modes='no" and M appears as a mode-name in the mode attribute of a
template rule.

Leaving open for the WG to review the detailed text.

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

Received on Friday, 18 November 2016 18:26:10 UTC