W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2015

[Bug 27861] New: fn:sort error in example

From: <bugzilla@jessica.w3.org>
Date: Tue, 20 Jan 2015 03:13:20 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27861-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27861

            Bug ID: 27861
           Summary: fn:sort error in example
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: liam@w3.org
        QA Contact: public-qt-comments@w3.org

I see,

The expression fn:sort((1, -2, 5, 10, -10, 10, 8), fn:abs#1)
returns (1, -2, 5, 8, 10, -10).

but I expect to get back
        (1, -2, 5, 8, 10, 10, -10)

Is the implication that duplicates are eliminated?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 20 January 2015 03:13:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 January 2015 03:13:23 UTC