<?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>24512</bug_id>
          
          <creation_ts>2014-02-05 04:30:05 +0000</creation_ts>
          <short_desc>Streamability of extension functions is not defined in the spec</short_desc>
          <delta_ts>2014-07-18 11:14:04 +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>Windows NT</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="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>cmsmcq</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>99745</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-02-05 04:30:05 +0000</bug_when>
    <thetext>Under 19.8.7.12 Streamability of Function Calls (http://www.w3.org/TR/xslt-30/#streamability-of-function-calls), we say nothing about function calls to extension functions.

It should probably be implementation defined, but I think we should mention it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99746</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-02-05 04:35:31 +0000</bug_when>
    <thetext>This also applies to 19.8.7.13 Streamability of Named Function References, which doesn&apos;t mention extension functions either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99776</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-05 12:08:37 +0000</bug_when>
    <thetext>Agreed. It&apos;s implementation-defined, and we should say so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100294</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-11 15:55:02 +0000</bug_when>
    <thetext>We discussed this in Prague and agreed that the omission should be rectified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100722</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-16 20:36:14 +0000</bug_when>
    <thetext>Change applied as decided.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101988</commentid>
    <comment_count>5</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-03-06 16:07:35 +0000</bug_when>
    <thetext>The change was not applied to &quot;19.8.7.13 Streamability of Named Function References&quot; as mentioned in comment 1, only under 19.8.7.12.

In addition, the rule about partial function application under 19.8.7.12 generalizes all functions to use TDU, but TDU only applies to stylesheet functions, not to built-in functions. I think we should say so (unless this is intentional, in which case the operand usage of some arguments may change when PFA is used).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106170</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-05-16 14:50:04 +0000</bug_when>
    <thetext>We also now need to consider named function references and partial function application of calls to streamable stylesheet functions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108904</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-07-14 10:52:34 +0000</bug_when>
    <thetext>The WG accepted the proposal in message https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Jul/0009.html (member-only) with minor changes (minutes dated 10 July). The changes have been applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109083</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-07-18 11:14:04 +0000</bug_when>
    <thetext>During the telcon on 17 July 2014, the WG amended its decision on this, with the effect that a stylesheet function declared with streamable=&quot;yes&quot; whose arguments are all atomized is deemed guaranteed streamable regardless of the function body, and therefore inline function declarations are not prohibited in such a function.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>