[Bug 30025] New: [F+O3.1] array:join() - misleading name

https://www.w3.org/Bugs/Public/show_bug.cgi?id=30025

            Bug ID: 30025
           Summary: [F+O3.1] array:join() - misleading name
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Comment from Thomas Fischer on public-qt-comments:

The documentation for array:join says:
    Concatenates the contents of several arrays
and "concat" is a common term for such functionality for arrays, whereas "join"
is common to join the elements of an array into a string, separated by a
specified separator.

Therefore I would propose:

  array:join($array as array(*)) as xs:string
  array:join($array as array(*), $separator as xs:string) as xs:string

  array:concat($arrays as array(*)*) as array(*)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 30 November 2016 17:18:58 UTC