Re: Timezones and xsd:dateTime/xsd:date

Concrete example:

P = "2006-09-10T09:00:00"^^xsd:dateTime
Q = "2006-09-10T09:00:00Z"^^xsd:dateTime

Is P = Q ?

XMLSchema [1]   => Indeterminate (case D)
F&O [2]         => false (because XMLSchema algorithm isn't true)
XPath2 [3]      => true, if the default timezone is Z, else false

	Andy

[1] http://www.w3.org/TR/xmlschema-2/#dateTime-order
[2] http://www.w3.org/TR/xpath-functions/#func-dateTime-equal
[3] http://www.w3.org/TR/xpath20/#dt-timezone

Received on Tuesday, 11 September 2007 08:28:00 UTC