[Bug 15807] New: [XQ30] 3.16.3 Cast - {variety}simple?

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

           Summary: [XQ30] 3.16.3 Cast - {variety}simple?
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
               URL: https://www.w3.org/XML/Group/qtspecs/specifications/xq
                    uery-30/html/xquery-30.html#id-cast
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The XQuery 3.0 specification states in 3.16.3 Cast

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

However, XML Schema states:

"{variety}

 One of {atomic, list, union}. Required for all Simple Type Definitions except 
·anySimpleType·, in which it is absent."

i.e. {variety} doesn't include 'simple'.

This also appears in 3.16.4 Castable and the appendix entry for err:XQST0052

-- 
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 Tuesday, 31 January 2012 11:13:20 UTC