[Bug 29241] New: [FO31] Minor inconsistencies in argument names


            Bug ID: 29241
           Summary: [FO31] Minor inconsistencies in argument names
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Could the second argument $index be renamed to $position, 

    array:get($array as array(*), $index as xs:integer) as item()*

to match other function signatures

    array:remove($array as array(*), $position as xs:integer) as array(*)
    array:insert-before($array   as array(*), $position  as xs:integer, $member
 as item()*) as array(*)

Similarly, the first argument of

array:sort($input as array(*)) as array(*)
array:sort($input        as array(*), $key       as function(item()*) as
xs:anyAtomicType*) as array(*)
array:flatten($input as item()*) as item()*

be renamed to $array, matching the rest of the "array" functions.

While these are trivial changes, it might be beneficial for IDE users.

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

Received on Monday, 26 October 2015 09:18:53 UTC