W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2005

[Bug 1334] no implicit conversion between time zones

From: <bugzilla@wiggum.w3.org>
Date: Fri, 10 Jun 2005 18:28:08 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DgoEi-00069i-Kw@wiggum.w3.org>


------- Additional Comments From andrew.eisenberg@us.ibm.com  2005-06-10 18:28 -------
The XML Query WG and XSL WG considered this comment at our May F2F meeting.
We must respectfully decline to remove the Implicit Time Zone.

The XML Schema datatypes xs:date, xs:time, and xs:dateTime allow values both
with and without timezones. As a consequence of this, XML Schema says that
some values with timezone and some values without timezone are incomparable.
Our WGs considered this issue and decided that we must be able to use values
of these types in an order by clause, which requires us to have a full
ordering for these values.

We considered a number of alternatives:
- disallow comparison of values with timezones to those without timezones
- define pairs of subtypes that require a timezone and do not allow a
timezone, respectively. Comparison would only be allowed on these subtypes.
- infer Z if no timezone was specified
- allow every comparison operator to specify a timezone that would be used
for values without a timezone

We decided on the use of an implicit timezone (part of the dynamic context)
whose value is implementation-defined. A user who does not wish to use this
feature can use of fn:adjust-dateTime-to-timezone,
fn:adjust-date-to-timezone, or fn:adjust-time-to-timezone in their query to
apply a specific timezone to their values before they are used in a

Please let us know if you agree with this resolution of your issue, by
adding a comment to the issue record and changing the Status of the issue to
Closed. Or, if you do not agree with this resolution, please add a comment
explaining why. If you wish to appeal the WG's decision to the Director,
then also change the Status of the record to Reopened. If you wish to record
your dissent, but do not wish to appeal the decision to the Director, then
change the Status of the record to Closed. If we do not hear from you in the
next two weeks, we will assume you agree with the WG decision.
Received on Friday, 10 June 2005 18:28:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:24 UTC