<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7596</bug_id>
          
          <creation_ts>2009-09-12 23:59:23 +0000</creation_ts>
          <short_desc>[XSLT 2.0]  Definition of error XTSE0690</short_desc>
          <delta_ts>2010-07-15 09:04:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 2.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hans-Juergen Rennau">hrennau</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>sca.w3c</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27112</commentid>
    <comment_count>0</comment_count>
    <who name="Hans-Juergen Rennau">hrennau</who>
    <bug_when>2009-09-12 23:59:23 +0000</bug_when>
    <thetext>Maybe I just fail to understand the text. If so, perhaps the text could be clearer.

&lt;quote&gt;
[ERR XTSE0690] It is a static error  if a template that is invoked using xsl:call-template  declares a template parameter  specifying required=&quot;yes&quot; and not specifying tunnel=&quot;yes&quot;, 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=&quot;yes&quot; and no value for this parameter is supplied by the calling instruction.
&lt;/quote&gt;

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 &lt;xsl:param&gt; had a further attribute tunnel=yes. However, this would hardly make sense, and it is not what I observe when testing with Saxon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36891</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-07-15 09:04:02 +0000</bug_when>
    <thetext>Sorry for the admin slip-up here: it seems this was one of a batch of bugs closed by a visiting vandal.

We believe the spec is correct and reflects the WG intentions. The idea is that there are two errors here: XTSE0690 is a static error, because call-template calls can be analyzed statically, while XTDE0700 covers apply-templates and other cases where the error can only be detected at run time.

I hope this explanation is satisfactory and am closing the bug as &quot;INVALID&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>