[Bug 4843] [XSLT 2.0] Current mode is underspecified

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





------- Comment #2 from mike@saxonica.com  2007-10-11 06:36 -------
Proposal:

In the table in 5.4.4, row "current mode", column "cleared by", change the
content of the cell to "calls to stylesheet functions, evaluation of global
variables and stylesheet parameters, evaluation of the sequence constructor
contained in xsl:key or xsl:sort. Clearing the current mode causes the current
mode to be set to the default (unnamed) mode.

In 6.5, change "the current mode becomes the default mode" to "the current mode
is set to the default mode" (the current phrase is ambiguous, it is not clear
whether it means default:=current or current:=default). 

In 6.5 before "No other instruction changes the current mode. " add "While
evaluating global variables and parameters, and the sequence constructor
contained in xsl:key or xsl:sort, the current mode is set to the default mode."

After "No other instruction changes the current mode. " add the sentence "The
current mode while evaluating an attribute set is the same as the current mode
of the caller."

Received on Thursday, 11 October 2007 06:36:53 UTC