[Bug 2828] RQ-155 State prohibition of use attribute on top-level attributes more clearly (topleveluse)

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

           Summary: RQ-155 State prohibition of use attribute on top-level
                    attributes more clearly (topleveluse)
           Product: XML Schema
           Version: 1.1 only
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: unclassified
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: ht@w3.org
        ReportedBy: cmsmcq@w3.org
         QAContact: www-xml-schema-comments@w3.org


This issue was originally reported by Asir Vedamuthu / XML Schema WG.

Asir Vedamuthu raised the following issue initially as R-158
(http://www.w3.org/2001/05/xmlschema-rec-comments#pfitopLevelAttr):

This is a fragment from the Schema for Schemas

<xs:complexType name="topLevelAttribute">
  <xs:complexContent>
   <xs:restriction base="xs:attribute">
    <xs:sequence>
     <xs:element ref="xs:annotation" minOccurs="0"/>
     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
    </xs:sequence>
    <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"/>
   </xs:restriction>
  </xs:complexContent>
</xs:complexType>

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:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0128.html

Henry Thompson was skeptical:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0138.html

Resolved at the July 2003 f2f
(http://www.w3.org/XML/Group/2003/07/xml-schema-ftf-minutes.html#d0e513)
to defer to 1.1, adding it as a requirement.

Editors to draft sample for phase-1 discussion.

The underlying issue applies to both Structures and Datatypes.  This
Bugzilla entry is for Structures.

Received on Saturday, 11 February 2006 01:00:04 UTC