W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2010

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 17 Nov 2010 17:28:07 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-11336-703@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 November 2010 17:28:09 GMT