[Bug 3690] The set of all possible modes is not clearly defined

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3690





------- Comment #2 from mike@saxonica.com  2006-09-13 19:36 -------
I agree. I would propose:

(a) In 6.5 change

the token #all, to indicate that the template rule is applicable to all modes.

to

the token #all, to indicate that the template rule is applicable to all modes
(that is, to the default mode and to every mode that is named in an
xsl:apply-templates instruction or xsl:template declaration anywhere in the
stylesheet)

(b) In 2.3 change

Optionally, an initial mode.

to

Optionally, an initial mode. This must be either the default mode, or a mode
that is explicitly named in the mode attribute of an xsl:template declaration
within the stylesheet.

(c) Add to this paragraph: If an initial mode is supplied, then an initial
context node MUST be supplied, and an initial template MUST NOT be supplied.

(d) Add error codes for the above conditions.

Received on Wednesday, 13 September 2006 19:36:32 UTC