[Bug 6341] New: [FO] Specification of op:dateTime-equal, etc

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

           Summary: [FO] Specification of op:dateTime-equal, etc
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The "Summary" of op:dateTime-equal states:

<quote>
Returns true if and only if the value of $arg1 is equal to the value of $arg2
according to the algorithm defined in section 3.2.7.4 of [XML Schema Part 2:
Datatypes Second Edition] "Order relation on dateTime" for xs:dateTime values
with timezones.
</quote>

There is no mention here, or anywhere else except the examples, of the role of
the implicit timezone. The information in the summary seems at best misleading
and at worst plain incorrect: the only way it can be made consistent with the
examples is by assuming that the implicit timezone is treated implicitly as
part of the values used as input to the algorithm from the XML Schema
specification.

The same problem applies to all the other comparison functions for dates/times.

The introductory paragraphs to section 10.4 describe the general approach to
comparing dates and times by filling in missing components from the 7-field
model; but the specific functions do not refer to that material directly
(instead it refers directly to the schema specification). Indeed the
introductory material only says that the implicit timezone is used "in some
cases", but it does not say which.


-- 
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, 2 January 2009 17:50:34 UTC