[Bug 29478] [XSLT30] Allow selecting all component types inside xsl:accept/xsl:expose

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Suggestion:

(a) Add the syntax component="*". If this is used, the names attribute must
contain only wildcards.

(b) The semantics of <accept component="*" ...> or <expose component="*"...> is
equivalent to having five declarations

<accept component="function" ...>
<accept component="template" ...>
etc with the same attributes (other than @component).

Other suggestions: 

(i) use "all" or "#all" in place of "*"
(ii) allow a space-separated list of component-kind names
(iii) change the default: if there is at least one <xsl:accept>, then only the
components that are explicitly accepted are accepted; if there is no
<xsl:accept>, then everything is accepted. (Ditto for <xsl:expose>).

We recorded consensus on this general direction, with direction to the editor
to prepare a detailed proposal. The choice of keywords will be deferred until
we see the detailed proposal.

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

Received on Wednesday, 17 February 2016 14:09:02 UTC