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

[Bug 6235] New: Restriction from xs:anySimpleType

From: <bugzilla@wiggum.w3.org>
Date: Tue, 18 Nov 2008 16:40:31 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-6235-703@http.www.w3.org/Bugs/Public/>


           Summary: Restriction from xs:anySimpleType
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org

XSD 1.1 Part 1,, XML Mapping Summary for Complex Type Definition with
simple content Schema Component, {content type}.{simple type definition} clause
2 has:

(let SB  be the simple type definition corresponding to the <simpleType> among
the [children] of <restriction> if any, otherwise ·xs:anySimpleType·) a simple
type definition which restricts SB with a set of facet components 

If I read this convoluted text correctly, it implies that constraining facets
can apply to xs:anySimpleType. But we say very clearly elsewhere, notably in
3.16.1, that they don't:

·xs:anySimpleType· or ·xs:anyAtomicType·  must not be named as the {base type
definition} of any user-defined atomic simple type definitions: as they allow
no constraining facets, this would be incoherent.

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 Tuesday, 18 November 2008 16:40:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:12 UTC