- From: Maikel Jansen <maikel.jansen@asml.com>
 - Date: Thu, 10 Jan 2002 10:31:06 -0500 (EST)
 - To: xmlschema-dev@w3.org
 
Dear XML Schema Users,
Assume the following XML Schema Syntax
<simpleType name="type0">
  <restriction base="string">
    <enumeration value="my value"/>
  </restriction>
</simpleType>
<element name="x">
  <complexType>
    <simpleContent>
      <extension base="type0">
        <attribute name="my_attribute" type="string"/>
      </extension>
    </simpleContent>
  </complexType>
</element>
My Question: is this allowed, i.e., extension and restriction
are (indirectly) combined?
Kind regards,
Maikel.
Received on Thursday, 10 January 2002 10:49:42 UTC