[Bug 6235] New: Restriction from xs:anySimpleType

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

           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, 3.4.2.2, XML Mapping Summary for Complex Type Definition with
simple content Schema Component, {content type}.{simple type definition} clause
2 has:

<quote>
(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 
</quote>

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:

<quote>
·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.
</quote>


-- 
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