This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test op-gYearMonth-equal-2 is taken from the f+O spec section 10.4.17.1. The spec correctly gives the result as "false" but the test suite gives the expected results as "true". Michael Kay
The same problem affects: op-gMonth-equal-2
This also affects op-gDay-equal-2
Actual test case is op-gYearMonth-equalNew-1. The spec gives the result of false because the implicit timezone is -05:00. I believe that we are returning true because we assume timezone of Z.
Fixed tests. USed an explicit timezone of "-05:00" as in the example in the F& O specs. Submitted new tests and results. Please close the bug if you agree with resolution. Thanks, Carmelo
op-gYearMonth-equal-2 and op-gMonth-equal-2 still seem to use the implicit time zone in version 0.8.4 of the test suite. - Jerome
Jerome: All tests should use an explicit timezone now. Please close bug when able to verify. Thanks, Carmelo
In the 0.8.6 version of the suite op-gYearMonth-equalNew-2 doesn't rely any more on the current timezone, but it still expects a "true" result, while the F&O specs mandate a "false" one
Alberto et all: Sorry I overlook that small detail. Resubmitted test results. Please close the bug if in agreement and able to verify. Thanks, Carmelo
op-gYear-equal-2 should also return true I think this one has been overlooked. - Jerome
Jerome: Thanks for the comment. I updated the results to reflect a "true" value. Thanks, Carmelo
It seems the XQueryX version of the test op-gYear-equal-2 is now out of line with the XQuery version.
I believe that the XQuery and XQueryX versions of this test case are now in sync. This was probably fixed quite a while ago, and certainly was fixed when we added the XQueryX queries to our CVS repository. http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Expressions/Operators/CompExpr/ValComp/DurationDateTimeOp/gYearEQ/op-gYear-equal-2.xq http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQueryX/Expressions/Operators/CompExpr/ValComp/DurationDateTimeOp/gYearEQ/op-gYear-equal-2.xqx Please close this bug if you agree with this resolution.
I'll take it on trust. Closing.