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

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 UTC