[Bug 11336] New: Permitted usage of xs:anyAtomicType

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11336

           Summary: Permitted usage of xs:anyAtomicType
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


We don't allow a user-defined type to be derived by restriction from
xs:anyAtomicType.

But we do allow a user-defined type to be derived by restriction from
union(xs:anyAtomicType, xs:integer), or even from union(xs:anyAtomicType) (a
singleton union), which appears to have exactly the same semantics.

This seems inconsistent...

I cannot see any reason for allowing xs:anyAtomicType (or xs:anySimpleType) to
appear as a member type of a union or as an item type of a list.

-- 
Configure bugmail: http://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 Wednesday, 17 November 2010 17:28:08 UTC