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

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