<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://www.castor.org/Test"
            xmlns:cst="http://www.castor.org/Test"
            elementFormDefault="qualified"
            attributeFormDefault="unqualified">


   <!-- Test for simpleType with restriction -->

   <xsd:simpleType name="type1">
      <xsd:restriction base="xsd:string">
         <xsd:enumeration value="value1"/>
         <xsd:enumeration value="value2"/>
         <xsd:enumeration value="value3"/>
      </xsd:restriction>
   </xsd:simpleType>

</xsd:schema>
