W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2000

Problems in Datatypes pt 2 (A Schema for Datatype Definitions (no rmative)) #2

From: Dan Vint <DVint@lexica.net>
Date: Tue, 2 May 2000 08:00:53 -0700
Message-ID: <69E9C91EDBCED31186A6009027DE4E1211F4B0@mail.lexica.net>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
In the Appendix A (of part 2) the definition of this complexType has the
attribute base as an empty tag, but the close tag appears later.

  <complexType name="simpleType" base="annotated" derivedBy="extension"
abstract="true">
    <element ref="facet" minOccurs="0" maxOccurs="unbounded"/>
    <attribute name="name" type="NCName">
      <annotation>
       <documentation>Can be restricted to required or
forbidden</documentation>
      </annotation>
    </attribute>
    <attribute name="base" type="QName" use="required"/>
     <simpleType base="NMTOKEN">
      <enumeration value="list"/>
      <enumeration value="restriction"/>
     </simpleType>
    </attribute>
  </complexType>


************

Dan Vint                 Lexica LLC
Sr XML Analyst          (415)901-3623
                         http://www.lexica.net
Received on Tuesday, 2 May 2000 10:56:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:52 UTC