- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 10 Mar 2006 21:41:58 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2946
mike@saxonica.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #2 from mike@saxonica.com 2006-03-10 21:41 -------
On 9 March the WG accepted in principle the suggestion that evaluation of
use-when should be a separate episode with no requirement to share the same
context as the run-time transformation. I was asked to propose detailed
wording.
I propose also, to retain implementation flexibility, that evaluation of each
use-when expression should be a separate episode in the above sense.
Proposed wording:
1. In 3.12, after the table of dynamic context components, add the paragraph:
Each XPath expression contained in an [xsl:]use-when attribute is evaluated in
a separate [execution scope[FO]]. This means that there is no requirement for
functions such as [current-date] to return the same result when called in
different [xsl:]use-when expressions, or to return the same result as a call on
the same function executed during the transformation proper.
2. In 5.4.3, after the second paragraph, add:
XPath expressions contained in [xsl:]use-when attributes (see 3.12 Conditional
Element Inclusion) are not considered to be evaluated "during the
transformation" as defined above. The evaluation of each such expression
constitutes a separate [execution scope[FO]].
Received on Friday, 10 March 2006 21:46:45 UTC