- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 14 Sep 2005 14:36:45 +0000
- To: www-xml-schema-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2154 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: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 Response from Henry: http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0138.html 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