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

[Bug 17462] New: [QT3TS] K-SeqExprCast-3, 4, 7, 9-13, K-SeqExprCastable-4 to -6, 12, 13

From: <bugzilla@jessica.w3.org>
Date: Mon, 11 Jun 2012 15:33:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-17462-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17462

           Summary: [QT3TS] K-SeqExprCast-3, 4, 7, 9-13,
                    K-SeqExprCastable-4 to -6, 12, 13
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: oneil@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Tests such as 

'string' cast as xs:anySimpleType
'string' cast as xs:untyped
'string' cast as xs:anyType
3 cast as xs:doesNotExist
'string' castable as xs:anySimpleType
'string' castable as xs:untyped

which expect XPST0051 in XQ10 should expect in XQST0052 XQ30.

This is because of the change of SingleType (as used in cast and castable
expressions) from AtomicType? to SimpleTypeName?.

err:XPST0051

    It is a static error if a QName that is used as an AtomicType in a
SequenceType is not defined in the in-scope schema types as an atomic type.

err:XQST0052

    The type must be the name of a type defined in the in-scope schema types,
and the {variety} of the type must be simple.

-- 
Configure bugmail: https://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 Monday, 11 June 2012 15:33:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:49 UTC