W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2015

[Bug 28588] New: [QT3] Test K-SeqExprCast-422a expects FORG0001, but XPTY0117 should be thrown

From: <bugzilla@jessica.w3.org>
Date: Fri, 01 May 2015 00:58:14 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28588-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28588

            Bug ID: 28588
           Summary: [QT3] Test K-SeqExprCast-422a expects FORG0001, but
                    XPTY0117 should be thrown
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

XPTY0117 is defined for XP30 as:

In a cast expression, if an item is of type xs:untypedAtomic and the expected
type is namespace-sensitive, a type error [err:XPTY0117] is raised.

However, this test expects FORG0001. This seems incorrect. The test itself has
the following expression:

xs:untypedAtomic("an arbitrary string(untypedAtomic source)") cast as xs:QName

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 1 May 2015 00:58:15 UTC

This archive was generated by hypermail 2.3.1 : Friday, 1 May 2015 00:58:16 UTC