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

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