- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 25 Jul 2005 00:04:18 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1811 Summary: Need explicit statement of interactions among initial settings Product: XPath / XQuery / XSLT Version: Last Call drafts Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: XSLT 2.0 AssignedTo: mike@saxonica.com ReportedBy: david_marston@us.ibm.com QAContact: public-qt-comments@w3.org Comments based on the 4 April 2005 draft of XSLT 2.0: After much jumping around between parts 2.3, 6.5, and 10.1, I am pretty sure that I know that there is a good reason to set both an initial mode and initial named template as simultaneous launch options. I'm not 100% positive, but I am pretty sure that you are trying to say that if the named template specified at launch time contains the instruction <xsl:apply-templates mode="#current"/> then the initial mode will be used. If one had been specified at launch time, that mode will be used. EDITORIAL FIX: please add a note to part 10.1 (or 6.5 if you prefer) to make an explicit statement of the above. The next question is about the interplay between launch-time parameter setting and the initial mode. Again, I am pretty sure, but not 100% sure, that an xsl:param element at the "global" stylesheet level can contain <xsl:apply-templates select="/fully/qualified/path" mode="#current"/> and it will use the initial mode specified at launch time, or the default mode if none was specified. (This is for content of xsl:param that was invoked because the value was not supplied at launch time.) If the processor has lazy evaluation of parameters, then the mode for the above instruction must be the initial mode, not whatever mode is current when the first reference to the param must be resolved. EDITORIAL FIX: please add a note to part 9.5 to make an explicit statement of the above. The question about initial mode vs. global variable has more factors, so I will report it separately.
Received on Monday, 25 July 2005 00:04:25 UTC