<?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>27231</bug_id>
          
          <creation_ts>2014-11-04 15:12:04 +0000</creation_ts>
          <short_desc>[FO31] Typos in 17.3 &apos;Functions that Operate on Arrays&apos;</short_desc>
          <delta_ts>2014-11-17 11:33:38 +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>Working 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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Debbie Lockett">debbie</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>andrew_coleman</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>114490</commentid>
    <comment_count>0</comment_count>
    <who name="Debbie Lockett">debbie</who>
    <bug_when>2014-11-04 15:12:04 +0000</bug_when>
    <thetext>[FO31] Typos in 17.3 &apos;Functions that Operate on Arrays&apos;, as follows:

(1) 17.3.4 array:remove - Error Condition
     Should refer to argument $position --- rather than $index

(2) 17.3.8 array:reverse - Examples 
     2nd example returns [(&quot;c&quot;, &quot;d&quot;), (&quot;a&quot;, &quot;b&quot;)] --- rather than [(&quot;c&quot;, &quot;d&quot;), (&quot;a&quot;, &quot;b)&quot;] (note misplaced quote)

(3) 17.3.11 array:filter - Examples 
     1st example, function variable $x (or $z) should match; 
          also returns [1,2] --- rather than [&quot;A&quot;, &quot;B&quot;]

(4) 17.3.12 array:fold-left AND 17.3.13 array:fold-right - Signature 
     Result type is item()* --- rather than array(*)

(5) 17.3.15 array:sort - Rules 
     2nd rule &quot;same members as the input **array** $input&quot; -- rather than &quot;... input **sequence** $input&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114803</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2014-11-11 17:02:06 +0000</bug_when>
    <thetext>These changes are editorial</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114806</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-11-11 17:28:36 +0000</bug_when>
    <thetext>There&apos;s another TBA under duplicates:reject.

Decided to insert the replacement character for invalid escape sequences rather than raising an error. (We should probably also mention that this handles invalid surrogate pairs).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114995</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-11-17 11:33:38 +0000</bug_when>
    <thetext>Changes applied. Also added some examples for array:fold-left and array:fold-right.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>