W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

[Bug 2154] topLevelAttribute and use=(optional|prohibited|required)

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 14:36:45 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1EFYNR-0006rc-9j@wiggum.w3.org>


           Summary: topLevelAttribute and use=(optional|prohibited|required)
           Product: XML Schema
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org

This is a fragment from the Schema for Schemas

<xs:complexType name="topLevelAttribute">
   <xs:restriction base="xs:attribute">
     <xs:element ref="xs:annotation" minOccurs="0"/>
     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
    <xs:attribute name="ref" use="prohibited"/>
    <xs:attribute name="form" use="prohibited"/>
    <xs:attribute name="use" use="prohibited"/>
    <xs:attribute name="name" use="required" type="xs:NCName"/>
attribute 'use' is ruled out,

<xs:attribute name="use" use="prohibited"/>
However, the prose in section 3.2.3 (constraints on XML Representation) doesn't 
say anything about the 'use' attribute.

I believe that the schema for schemas is correct and hope, the prose will rule 
this out explicitly. 

See the following for more info:

Response from Henry:

This was originally an issue opened against XML Schema 1.0. It was discussed at 
the July 2003 f2f [1] to defer to 1.1.
[1] http://www.w3.org/XML/Group/2003/07/xml-schema-ftf-minutes.html#d0e513
Received on Wednesday, 14 September 2005 14:36:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:04 UTC