<?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>24536</bug_id>
          
          <creation_ts>2014-02-05 22:31:02 +0000</creation_ts>
          <short_desc>Mixing of first and left/right hand operands terms</short_desc>
          <delta_ts>2014-02-24 15:00:11 +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>99836</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-02-05 22:31:02 +0000</bug_when>
    <thetext>The terms first/second operand and left/right-hand operands makes it a bit unclear what is meant. This happens in at least two situations.

1.
19.8.7.5 Streamability of Simple Mapping Expressions (http://www.w3.org/TR/xslt-30/#streamability-of-simple-mapping-expressions)

Here the text explains to rewrite the expression to make the mapping operator left-associative. Then the text mentions 

&quot;The posture and sweep of the expression are the posture and sweep of the right-hand operand, assessed with a context posture and type set to the posture and type of the first operand.&quot;

The last term here, &quot;the first operand&quot; should apply to the left-hand operand of the binary left-associative operator, but when reading it I was stumped whether it applied to the actual first operand of the whole expression (a in a!b!c).

2.
19.8.7.6 Streamability of Path Expressions (http://www.w3.org/TR/xslt-30/#streamability-of-path-expressions)

The same rewriting takes place here, making the path operator left-associative. Then, the text mentions:

&quot;The posture of the expression is the posture of the right-hand operand, assessed with a context posture and type set to the posture and type of the first operand.&quot;

Again, the last term here is ambiguous for the same reasons as with the mapping operator. It&apos;s probably better to use right-hand and left-hand to make clear(er) what is meant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100379</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-12 10:06:36 +0000</bug_when>
    <thetext>The WG discussed this during the ftf meeting in Prague and agreed that this stylistic cleanup should be performed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101239</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-24 15:00:11 +0000</bug_when>
    <thetext>We now use &quot;left-hand&quot; and &quot;right-hand&quot; consistently.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>