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 1228 - Error XTSE0680 doesn't apply to tunnel parameters
Summary: Error XTSE0680 doesn't apply to tunnel parameters
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: 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: 2005-04-08 11:35 UTC by Michael Kay
Modified: 2005-07-21 18:47 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-04-08 11:35:18 UTC
Error XTSE0680 states:

[ERR XTSE0680] In the case of xsl:call-template, it is a static error to pass a
parameter named x to a template that does not have a template parameter named x,
unless backwards compatible behavior is enabled for the xsl:call-template
instruction. This is not an error in the case of xsl:apply-templates,
xsl:apply-imports, and xsl:next-match; in these cases the parameter is simply
ignored.

This shouldn't be an error if the parameter specifies tunnel="yes".

(Colin Adams raised this as a bug on Saxon, but I think it's the spec that's wrong).
Comment 1 Michael Kay 2005-04-28 17:43:25 UTC
Agreed to make the change suggested.
Comment 2 Michael Kay 2005-05-03 13:58:45 UTC
Error definition rephrased in draft Y; "... it is a static error to pass a
non-tunnel paramter named X ..."