W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2012

[Bug 19749] New: [QT3] incorrect result for cbcl-deep-equal-008

From: <bugzilla@jessica.w3.org>
Date: Sun, 28 Oct 2012 18:26:49 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19749-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19749

          Priority: P2
            Bug ID: 19749
          Assignee: tim@cbcl.co.uk
           Summary: [QT3] incorrect result for cbcl-deep-equal-008
        QA Contact: public-qt-comments@w3.org
          Severity: normal
    Classification: Unclassified
                OS: Windows XP
          Reporter: andrew.eisenberg@us.ibm.com
          Hardware: PC
            Status: NEW
           Version: Last Call drafts
         Component: XQuery 3 & XPath 3 Test Suite
           Product: XPath / XQuery / XSLT

Test case cbcl-deep-equal-008 expects true for the query:

  deep-equal((xs:untypedAtomic("a"), xs:untypedAtomic("P12M"), 2.0),
             (xs:untypedAtomic("a"), xs:yearMonthDuration("P1Y"),
              xs:untypedAtomic(" 2")))

deep-equal requires pairs of atomic values to be be equal to each other using
eq. This is not the case for xs:untypedAtomic("P12M") and
xs:yearMonthDuration("P1Y"). eq treats "P12M" as a string, which is not
comparable to a duration.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 28 October 2012 18:26:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 28 October 2012 18:26:50 GMT