<?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>24864</bug_id>
          
          <creation_ts>2014-02-28 16:13:31 +0000</creation_ts>
          <short_desc>[xslt 3.0] Error codes XTDE0060 and XTDE0700</short_desc>
          <delta_ts>2014-05-15 14:00:45 +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 3.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <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>101625</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-28 16:13:31 +0000</bug_when>
    <thetext>These two errors are:

[ERR XTDE0060] It is a dynamic error if the initial template defines a template parameter that specifies required=&quot;yes&quot; and no value is supplied for that parameter.

[ERR XTDE0700] It is a dynamic error if a template that is invoked using xsl:apply-templates, xsl:apply-imports, or xsl:next-match declares a template parameter with required=&quot;yes&quot; and no value for this parameter is supplied by the calling instruction. The same error is reported in the case of a tunnel parameter whether invoked using one of these three instructions or by xsl:call-template, as explained in 10.1.2 Tunnel Parameters.

I propose that we fold XTDE0060 into XTDE0700.

In the past, XTDE0060 read 

[ERR XTDE0060] It is a non-recoverable dynamic error if the initial template defines a template parameter that specifies required=&quot;yes&quot;.

We now allow template parameters to be supplied, so we changed the error description. However, the absence of a required parameter is likely to be detected in the same way regardless how the template was called, so it is inconvenient to have to generate two different error codes depending how the value was supplied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103078</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-03-28 10:43:42 +0000</bug_when>
    <thetext>The WG agreed, and the change has been made.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>