[Bug 6343] New: [FO] op:gYearMonth-equal


           Summary: [FO] op:gYearMonth-equal
           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 function op:gYearMonth-equal (10.4.15) states in the text that it compares
the "starting instants" of the two months, but what it actually does is to
compare the starting instant of the last day of each month. This does not give
an incorrect result, but it leads to a rather confusing description. 

The first example makes this worse by applying the rules incorrectly: it tells
us that the starting instant of 1976-02 is 1972-02-29T00:00:00!

The corresponding text for op:gYear-equal uses the first day of the month
rather than the last, which seems more straightforward.

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 Saturday, 3 January 2009 13:02:39 UTC