This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2356 - op-time-greater-than-2 results are wrong
Summary: op-time-greater-than-2 results are wrong
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 15:39 UTC by Michael Kay
Modified: 2006-06-22 12:55 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-18 15:39:14 UTC
The test op-time-greater-than-2 is taken from 10.4.16.1 of the F+O spec.

The spec correctly gives the expected results as "false" but the published
expected results are "true".

Michael Kay
Comment 1 Carmelo Montanez 2005-10-21 14:37:30 UTC
Agree. Please close the bug if you agree with the resolution.

Carmelo
Comment 2 Michael Kay 2005-11-08 21:10:16 UTC
This bug is still present in 0.8.0. (Please mark closed if it's been fixed in
the meantime).
Comment 3 Carmelo Montanez 2005-11-08 21:23:25 UTC
Mike:

Sorry forgot to check in new results.  Already in CVS repository.

Carmelo
Comment 4 Michael Kay 2006-06-18 20:47:26 UTC
This bug is still present in 0.9.4. The correct results, as given in the F+O spec, are "false", but the published results still say "true".
Comment 5 Michael Kay 2006-06-18 20:54:06 UTC
Sorry, before adding comment #4 I should have read the history.

I still believe the correct result is "false". This is because times are compared by combining them with a reference date. When this is done, the two times end up being on different days. So although they represent the same time of day, they are different because the dates are different.
Comment 6 Carmelo Montanez 2006-06-20 14:00:23 UTC
Michael:

Sorry for the mishap.  Corrected expected value.

Thanks,
Carmelo