[Bug 28885] New: Minor editorial issues

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

            Bug ID: 28885
           Summary: Minor editorial issues
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: pwalmsley@datypic.com
        QA Contact: public-qt-comments@w3.org

Some minor editorial issues:

1. eg:index-of-node - the first XQuery implementation has the order of the
arguments to fn:filter reversed.

2. eg:index-of-node - the XSLT and first XQuery implementations have the order
of the arguments to fn:for-each-pair reversed.

3. eg:distinct-nodes-stable - the XQuery implementation doesn't prefix the
function name with eg:

4. eg:distinct-nodes-stable - both implementations have an unresolved reference
to $seq.  Should be $arg.

5. eg:distinct-nodes-stable - both implementations have the order of the
arguments to fn:fold-left reversed.

6. eg:lowest - the XQuery implementation has eg:highest as the function name
instead of eg:lowest

7. The Rules for op:subtract-dayTimeDuration-from-time mention the function
add-dayTimeDuration-to-time but it is not a link - maybe because it is not
prefixed with fn:?

8. The examples of fn:replace don't use the fn: prefix, which is inconsistent
with the examples of other functions.

9. The collection function summary says "indentified" instead of "identified".

10. The signature of map:for-each is:

map:for-each(    $input    as map(*),
$action    as function($key as xs:anyAtomicType, $value as item()*)) as item()*

"$key as" and "$value as" should be removed, as in:

map:for-each(    $input    as map(*),
$action    as function(xs:anyAtomicType, item()*)) as item()*

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

Received on Thursday, 2 July 2015 14:49:36 UTC