[Bug 7596] New: [XSLT 2.0] Definition of error XTSE0690

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

           Summary: [XSLT 2.0]  Definition of error XTSE0690
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: hrennau@yahoo.de
         QAContact: public-qt-comments@w3.org


Maybe I just fail to understand the text. If so, perhaps the text could be
clearer.

<quote>
[ERR XTSE0690] It is a static error  if a template that is invoked using
xsl:call-template  declares a template parameter  specifying required="yes" and
not specifying tunnel="yes", if no value for this parameter is supplied by the
calling instruction.

[ERR XTDE0700] In other cases, it is a non-recoverable dynamic error if the
template that is invoked declares a template parameter with required="yes" and
no value for this parameter is supplied by the calling instruction.
</quote>

This sounds as if there were a special rule concerning the treatment of
required=”yes”, applied when the template is called by ‘call-template’: as if a
call not supplying the parameter would not provoke an error, if only the
<xsl:param> had a further attribute tunnel=”yes”. However, this would hardly
make sense, and it is not what I observe when testing with Saxon.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 12 September 2009 23:59:33 UTC