[Bug 5939] [FO] Unintuitive results from op:time-equal

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





--- Comment #9 from Bogdan Butnaru <bogdanb+w3c+bugzilla@gmail.com>  2009-05-08 14:43:24 ---
(In reply to comment #8)
> The XDM model explicitly states that for the date/time types, timezone
> distinctions are retained in the value space. See section 3.3.2 in the Data
> Model spec, and section 10.2 in Functions and Operators. This is a conscious
> departure from the definition of the types in XSD 1.0, and is consistent with
> the way these types are described in XSD 1.1.

Well, OK, but this still means that “two xs:time values that have the same
canonical representation can be not equal”. This may well be intentional*,
but I think it should be at least noted in the definition of op-time-equal.
Note that the XQuery 1.0 spec does not mention XSD 1.1.

(*: In fact, I can find no use of the canonical form for xs:time in the
XQuery/XPath specs, including the F&O spec, so this is an external rather than
an internal inconsistency.)


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 8 May 2009 14:43:35 UTC