W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2008

[Bug 5684] [XQTS] some FunctX timezone test depend on context timezone

From: <bugzilla@farnsworth.w3.org>
Date: Tue, 13 May 2008 11:17:12 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JvsVM-0002af-Fi@farnsworth.w3.org>

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

           Summary: [XQTS] some FunctX timezone test depend on context
                    timezone
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The following FunctX tests only work when the static timezone is +02:00
(although the results on the FunctX website are given for an implicit timezone
of -05:00)

functx-fn-adjust-dateTime-to-timezone-6
functx-fn-adjust-dateTime-to-timezone-7
functx-fn-adjust-dateTime-to-timezone-all
functx-fn-adjust-date-to-timezone-5
functx-fn-adjust-date-to-timezone-6
functx-fn-adjust-date-to-timezone-all
functx-fn-adjust-time-to-timezone-5
functx-fn-adjust-time-to-timezone-6
functx-fn-adjust-time-to-timezone-7
functx-fn-adjust-time-to-timezone-8
functx-fn-adjust-time-to-timezone-all
functx-fn-implicit-timezone-1

I can think of 4 possible solutions:
1) Rewrite the adjust tests to compare the timezone with implicit-timezone(),
and drop the implicit-timezone-1 test; although this will be quite messy in
some cases and loose the succinctness of the tests.
2) Specify that the entire test suite should be run in a particular timezone
(eg. +02:00).
3) Add another element/attribute/role to the test-cases to specify the timezone
in which a test must be run.  This is my preferred solution.
4) Remove these tests entirely.
Received on Tuesday, 13 May 2008 11:17:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:23 UTC