[Bug 29199] New: [QT3TS] cbcl-cast-date-004, cbcl-cast-dateTime-004

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29199

            Bug ID: 29199
           Summary: [QT3TS] cbcl-cast-date-004, cbcl-cast-dateTime-004
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: debbie@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In test set prod-CastExpr.derived, the test cbcl-cast-date-004:

"18446744073709551616-QQ-15" cast as xs:date

expects error FORG0001. However it appears that FODT0001 should also be
accepted. 

See section 19.2 of the FO31 spec, which specifies:
"In casting to xs:date, xs:dateTime, xs:gYear, or xs:gYearMonth (or types
derived from these), if the value is too large or too small to be represented
by the implementation, a dynamic error [err:FODT0001] is raised."
and 
"If the cast fails for any other reason, a dynamic error [err:FORG0001] is
raised."

Similarly for test cbcl-cast-dateTime-004

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 13 October 2015 14:55:26 UTC