<?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>28862</bug_id>
          
          <creation_ts>2015-06-28 22:58:04 +0000</creation_ts>
          <short_desc>[XP30] and [XP31] ordering mode (under simple map operator) is undefined</short_desc>
          <delta_ts>2015-07-14 16:15:21 +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>XPath 3.1</component>
          <version>Member-only Editors Drafts</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>mike</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>121515</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-06-28 22:58:04 +0000</bug_when>
    <thetext>Under 3.15 (XP31) and 3.14 (XP30) Simple Map Operator (!) the spec for both editions says:

&lt;quote&gt;
If ordering mode is ordered, the returned sequence preserves the orderings within and among the subsequences generated by the evaluations of E2; otherwise the order of the returned sequence is implementation-dependent.
&lt;/quote&gt;

I can&apos;t find &quot;ordering mode&quot;, &quot;order mode&quot; or similar terms defined anywhere else in the spec. What definition or statement does it refer to and/or what defines whether the ordering mode is ordered or not for the selection in the expression?

Filed under XP31 so that it gets on the agenda, but applies equally to both XP30 and XP31.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122031</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2015-07-14 15:50:40 +0000</bug_when>
    <thetext>I will remove this text from XPath 3.1.

Ordering mode is defined only for XQuery:

[Definition: Ordering mode. Ordering mode, which has the value ordered or unordered, affects the ordering of the result sequence returned by certain expressions, as discussed in 3.14 Ordered and Unordered Expressions.]

Section 3.14 also appears only in XQuery.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122032</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-07-14 16:08:07 +0000</bug_when>
    <thetext>Rather than removing the text, you should retain the part that applies:

the returned sequence preserves the orderings within and among the subsequences generated by the evaluations of E2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122033</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2015-07-14 16:15:21 +0000</bug_when>
    <thetext>(In reply to Michael Kay from comment #2)
&gt; Rather than removing the text, you should retain the part that applies:
&gt; 
&gt; the returned sequence preserves the orderings within and among the
&gt; subsequences generated by the evaluations of E2

Done.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>