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

[Bug 11759] New: [XQuery30UC] ordering the query in "Windowing" Q9

From: <bugzilla@jessica.w3.org>
Date: Fri, 14 Jan 2011 17:30:05 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11759-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11759

           Summary: [XQuery30UC] ordering the query in "Windowing" Q9
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0 Use Cases
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


This query contains "group by $person" and the expected result is

<result>
  <working-time>
    <person>Barbara</person>
    <time>PT3H</time>
  </working-time>
  <working-time>
    <person>Anton</person>
    <time>PT9H30M</time>
  </working-time>
  <working-time>
    <person>Clara</person>
    <time>PT5H15M</time>
  </working-time>
</result>


At some point we will want to add the use cases to the XQuery 3.0 test suite.

I suggest adding "order by $person" after the group by and changing the result
to:

<result>
  <working-time>
    <person>Anton</person>
    <time>PT9H30M</time>
  </working-time>
  <working-time>
    <person>Barbara</person>
    <time>PT3H</time>
  </working-time>
  <working-time>
    <person>Clara</person>
    <time>PT5H15M</time>
  </working-time>
</result>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 14 January 2011 17:30:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:45 UTC