W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2006

[Bug 3073] [XSLT 2.0] Passing parameters through built-in templates

From: <bugzilla@wiggum.w3.org>
Date: Tue, 04 Apr 2006 12:22:49 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1FQkYb-0003Ya-O3@wiggum.w3.org>

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

           Summary: [XSLT 2.0] Passing parameters through built-in templates
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The non-normative Appendix J.1.3 states:

If backwards compatible behavior is enabled for an xsl:apply-templates or
xsl:apply-imports instruction, and the instruction causes a built-in template
rule to be invoked, then the built-in template rule ignores any parameters that
are passed: it does not pass them on to any further template rules.

There is no normative statement to back this up. It appears to contradict the
normative statement in 6.6: If the built-in rule was invoked with parameters,
those parameters are passed on in the implicit xsl:apply-templates instruction.

I don't recall the history of this one off-hand: I know it was discussed at
some length.
Received on Tuesday, 4 April 2006 12:22:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:11 UTC