<?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>25364</bug_id>
          
          <creation_ts>2014-04-16 11:55:23 +0000</creation_ts>
          <short_desc>Incorrect sweep and posture in the path expressions sample for the effect of operand on the streamability</short_desc>
          <delta_ts>2014-08-05 10:34:01 +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>All</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="Eugene Fotin">eugene.fotin</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>eugene.fotin</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>103959</commentid>
    <comment_count>0</comment_count>
    <who name="Eugene Fotin">eugene.fotin</who>
    <bug_when>2014-04-16 11:55:23 +0000</bug_when>
    <thetext>In &quot;19.4.1 Examples showing the Effect of Operand Usage&quot; (http://www.w3.org/TR/xslt-30/#operand-usage-examples) section &quot;Example: The Effect of Operand Roles on the Streamability of Path Expressions&quot;.
Expression &quot;.//chapter&quot; is consuming and crawling.
The example states that expression &quot;count(.//chapter)&quot; and &quot;exists(.//chapter)&quot; are motionless: &quot;The operand usage (the usage of the argument to count or exists) is defined as a inspection. The general streamability rules show that when the posture of an operand is crawling and the operand usage is inspection, the resulting expression is motionless&quot; (http://marker.to/CZCtMH).
But, according to GSR, operand &quot;.//chapter&quot; is potentially consuming (consuming and crawling with inspection) and is not a high-order, and step 2.d.ii of GSR (http://www.w3.org/TR/xslt-30/#general-streamability-rules) is applied, which produces grounded and consuming (http://marker.to/DaScke).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106043</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-05-15 14:31:57 +0000</bug_when>
    <thetext>Thank you for reporting this. I have fixed the explanation of the example editorially.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>