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

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