- From: <bugzilla@jessica.w3.org>
- Date: Wed, 09 Oct 2013 15:27:17 +0000
- To: www-xml-schema-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23473 Bug ID: 23473 Summary: dateTime equality questions Product: XML Schema Version: 1.1 only Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Datatypes: XSD Part 2 Assignee: David_E3@VERIFONE.com Reporter: w3c-m@connectionbrazil.com QA Contact: www-xml-schema-comments@w3.org CC: cmsmcq@blackmesatech.com 3.3.7 dateTime [1] says "Equality and order are as prescribed in The Seven-property Model (§D.2.1). dateTime values are ordered by their ·timeOnTimeline· value." AIUI, the timeOnTimeline value is essentially the number of seconds since 0001-01-01T00:00:00Z. This sentence seems to say that e.g. 2013-09-25T15:00:00-06:00, 2013-09-25T13:00:00-08:00 and 2013-09-25T21:00:00Z are "equal" – all three result in the same timeOnTimeline value of 63519282000. The same section says also "Note: Order and equality are essentially the same for dateTime in this version of this specification as they were in version 1.0. However, since values now distinguish time zone offsets, equal values with different ·timezoneOffset·s are not identical, and values with extreme ·timezoneOffset·s may no longer be equal to any value with a smaller ·timezoneOffset·." I'm unclear about what this means. The last part of this paragraph says that "values with extreme ·timezoneOffset·s may no longer be equal to any value with a smaller ·timezoneOffset·." Here the term "equal" is used. This fragment seems to contradict the earlier statement that equality is determined by the timeOnTimeline value. AIUI, it is always possible to create a value with a smaller timezoneOffset value that is "equal" (in the timeOnTimeline sense) to a value with an "extreme timezoneOffset value". Can you please clarify? What are "extreme" timezoneOffsets? What concept of "equal" is used in this fragment? Can you give an example of such a value that is not equal to any value with a smaller timezoneOffset? Thank you. ---- [1] http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#dateTime -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 9 October 2013 15:27:22 UTC