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

[Bug 3377] About op:time-equal using xs:dateTime

From: <bugzilla@wiggum.w3.org>
Date: Wed, 21 Jun 2006 13:37:45 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Ft2tt-0004DH-9e@wiggum.w3.org>

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





------- Comment #1 from mike@saxonica.com  2006-06-21 13:37 -------
This example was added to the spec deliberately because it is not the result
you might expect. For xs:dateTime values, it's true that a time of 24:00:00 is
equivalent to 00:00:00 on the following day. But for xs:time, the normalization
from 24:00:00 to 00:00:00 happens before the time is converted into a dateTime
for the purpose of the equality comparison. For xs:time, any operation on
24:00:00 produces the same result as the same operation on 00:00:00 because
these are two different lexical representations of the same value.

Michael Kay
(personal response)
Received on Wednesday, 21 June 2006 13:37:56 UTC

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