W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2016

[Bug 29981] New: required="no" on additional tunnel parameters of overriding template

From: <bugzilla@jessica.w3.org>
Date: Sun, 06 Nov 2016 01:31:45 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29981-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29981

            Bug ID: 29981
           Summary: required="no" on additional tunnel parameters of
                    overriding template
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: maxtoroq@gmail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

On section 3.5.3.3 (Overriding Components from a Used Package) it says:

> Two named templates with the same name are compatible if and only if they satisfy all the following rules:
> 
> ...
> 3. Any parameter on the overriding template for which there is no corresponding parameter on the overridden template specifies required="no".
> ...

I understand this requirement for "normal" parameters, but not for tunnel
parameters. If the existence of tunnel parameter arguments for a template
invocation can only be determined at runtime, why can't we let an overriding
template fail at runtime because of a missing tunnel parameter, just like any
other template?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 6 November 2016 01:31:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:03 UTC