[Bug 6244] [XQuery11UC] windowing use case Q4 Q5 Q9 Q13: results don't match data

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6244


Tim Kraska <tim@flworfound.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Tim Kraska <tim@flworfound.org>  2009-02-17 15:51:52 ---
Q4 and Q5:
Instead of changing the result, I would correct the input sequence to:

<stream>
  <event temp="10" time="1"/>
  <event temp="8" time="2"/>
  <event temp="6" time="3"/>
  <event temp="13" time="4"/>
  <event temp="32" time="5"/>
  <event temp="9" time="6"/>
  <event temp="10" time="7"/>
</stream>

That avoids the floating point representation for Q4. The results for Q4 and Q5
are then correct in the document. 

Q9: The current public draft has as the result:
<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>

As the order for groupby is implementation defined, the result is correct.

Q13: I changed the input data to achieve a result. As a consequence I also
needed to change Q7-Q12. 

I'm marking this bug FIXED.  Xavier, if you agree with the solutions, please
mark it CLOSED. 


-- 
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 Tuesday, 17 February 2009 15:52:01 UTC