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

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:16 GMT