<?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>29980</bug_id>
          
          <creation_ts>2016-11-05 10:53:20 +0000</creation_ts>
          <short_desc>[XSLT30] XTSE0760 uses informal argumentation in its description</short_desc>
          <delta_ts>2016-11-11 10:11:39 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</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>128064</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-11-05 10:53:20 +0000</bug_when>
    <thetext>Most errors are affirmative, formal and concise, without containing the (informal) argument that lead to introducing the error. Not so for XTSE0760:

[ERR XTSE0760] Because arguments to a stylesheet function call must all be specified, the xsl:param elements within an xsl:function element must not specify a default value: this means they must be empty, and must not have a select attribute. 

I propose a different wording here:

[ERR XTSE0760] It is an error for xsl:param elements that are children of xsl:function to have a select attribute or to be non-empty.

Or, if we want to keep the gist of the hint of the original description:

[ERR XTSE0760] It is an error to specify default values for function arguments, xsl:param elements that are children of xsl:function *must* have no select attribute and *must* be non-empty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128148</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-11-11 10:11:39 +0000</bug_when>
    <thetext>I have made the existing text into an ordinary paragraph, and then added the formal error condition below:

&lt;p&gt;Because arguments to a stylesheet function call &lt;rfc2119&gt;must&lt;/rfc2119&gt; all
be specified, the &lt;elcode&gt;xsl:param&lt;/elcode&gt; elements within an
&lt;elcode&gt;xsl:function&lt;/elcode&gt; element &lt;rfc2119&gt;must not&lt;/rfc2119&gt; specify
a default value: this means they &lt;rfc2119&gt;must&lt;/rfc2119&gt; be empty, and
&lt;rfc2119&gt;must not&lt;/rfc2119&gt; have a &lt;code&gt;select&lt;/code&gt; attribute.&lt;/p&gt;

&lt;p&gt;&lt;error spec=&quot;XT&quot; type=&quot;static&quot; class=&quot;SE&quot; code=&quot;0760&quot;&gt;
 &lt;p&gt;It is a static error if an &lt;elcode&gt;xsl:param&lt;/elcode&gt; child of
an &lt;elcode&gt;xsl:function&lt;/elcode&gt; element has either a &lt;code&gt;select&lt;/code&gt;
attribute or non-empty content.&lt;/p&gt;
&lt;/error&gt;
&lt;/p&gt;

Editorial change made silently with no entry in the change log.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>