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

[Bug 11855] New: 4.2.8 Q8: expected result is wrong

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Jan 2011 23:36:04 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11855-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11855

           Summary: 4.2.8 Q8: expected result is wrong
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0 Use Cases
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: matthias.brantner@28msec.com
         QAContact: public-qt-comments@w3.org


The expected result of windowing query Q8 is wrong. Instead of 

<result>
        <working-time>
                <person>Anton</person>
                <time>PT4H30M</time>
        </working-time>
        <working-time>
                <person>Barbara</person>
                <time>PT3H</time>
        </working-time>
        <working-time>
                <person>Clara</person>
                <time>PT1H</time>
        </working-time>
        <working-time>
                <person>Anton</person>
                <time>PT5H</time>
        </working-time>
        <working-time>
                <person>Clara</person>
                <time>PT10M</time>
        </working-time>
        <working-time>
                <person>Clara</person>
                <time>PT5M</time>
        </working-time>
        <working-time>
                <person>Clara</person>
                <time>PT15M</time>
        </working-time>
        <working-time>
                <person>Clara</person>
                <time>PT4H15M</time>
        </working-time>
</result>

it should be (notice the last working-time entry for Clara)

<result>
   <working-time>
       <person>Clara</person>
       <time>PT1H</time>
   </working-time>
   <working-time>
       <person>Barbara</person>
       <time>PT3H</time>
   </working-time>
   <working-time >
       <person>Anton</person>
       <time>PT4H30M</time>
   </working-time>
   <working-time >
       <person>Clara</person>
       <time>PT10M</time>
   </working-time>
   <working-time >
       <person>Clara</person>
       <time>PT5M</time>
   </working-time>
   <working-time >
       <person>Clara</person>
       <time>PT15M</time>
   </working-time>
   <working-time >
       <person>Anton</person>
       <time>PT5H</time>
   </working-time>
   <working-time >
       <person>Clara</person>
       <time>PT2H15M</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 Monday, 24 January 2011 23:36:05 UTC

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