<?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>29548</bug_id>
          
          <creation_ts>2016-03-30 22:29:57 +0000</creation_ts>
          <short_desc>[FO31] &quot;Special streaming rules&quot; as function property</short_desc>
          <delta_ts>2016-07-21 15:41:32 +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>Functions and Operators 3.1</component>
          <version>Candidate Recommendation</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>abel.braaksma</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>125673</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-03-30 22:29:57 +0000</bug_when>
    <thetext>Some functions in the current editor&apos;s draft, under the &quot;Properties&quot; heading, list &quot;special streaming rules&quot;. See for example fn:innermost. This property is in the function catalog for use by XSLT and should not be exposed in the F+O spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125692</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-04-02 15:46:24 +0000</bug_when>
    <thetext>For reference and check, the term &quot;special-streaming-rules&quot;, which is a link pointing to a non-existing anchor, occurs 9 times:

fn:root: 2x
fn:innermost
fn:outermost
fn:reverse
fn:position
fn:last
fn:function-lookup
fn:fold-right

Note that there are some more XSLT-specific notes on streaming, for instance in fn:has-children. I think these have merit, though:

fn:has-children (in a Note)
fn:outermost (in a Note)
fn:uri-collection (see Bug 29551)
fn:last (in a Note)

Apart from removing &quot;special-streaming-rules&quot;, would it make sense to have a more generic Note somewhere in FO31 signifying that some functions may fail or raise errors when used in a streaming context, but wouldn&apos;t raise these errors when used in non-streaming contexts (possibly without mentioning XSLT as the only such case)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125815</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-04-12 13:36:48 +0000</bug_when>
    <thetext>I have fixed this in the stylesheet used for merging the contents of the function catalog into the F+O spec narrative.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>