This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24539 - Position of XTSE3340 in the text
Summary: Position of XTSE3340 in the text
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-05 22:48 UTC by Abel Braaksma
Modified: 2014-02-14 22:38 UTC (History)
1 user (show)

See Also:


Attachments

Description Abel Braaksma 2014-02-05 22:48:54 UTC
This error:

"[ERR XTSE3340] It is a static error if an xsl:template declaration has the name xsl:initial-template and contains an xsl:param that specifies required="yes"."

is mentioned prior to the introduction and explanation of xsl:initial-template. it seems appropriate to mention the error below the last paragraph of section 10.1 Named Templates (just before 10.1.1), because that last paragraph is the place where xsl:initial-template is explained, along with the restriction on xsl:param.
Comment 1 Michael Kay 2014-02-06 12:55:06 UTC
I've moved the error description as suggested, but it occurs to me that perhaps we don't need this error any more, because as explained in 2.3.4 it is now possible to pass parameters to the initial template. So I think the error should simply disappear. 

This takes us to XTDE0060. The paraphrase of XTDE0060 in section 2.3.4 is fine (it says that if the initial template has required parameters, values for those parameters must be supplied. But the actual definition of XTDE0060 in section 2.3.5 is incorrect and misplaced (it has nothing to do with functions, and it's only an error if no value is actually supplied).
Comment 2 C. M. Sperberg-McQueen 2014-02-12 10:13:14 UTC
The WG discussed this during the ftf meeting in Prague and agreed with the suggestion in comment 1 that the error be dropped in view of the new facilities for invocation with parameters for the initial template.
Comment 3 Michael Kay 2014-02-14 22:38:06 UTC
Changes applied.