<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.example.org/Main"
	elementFormDefault="qualified"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns="http://www.example.org/Main">

    <xsd:include schemaLocation="../../Include1.xsd"></xsd:include>

    <xsd:simpleType name="MainST">
      <xsd:union memberTypes="xsd:boolean xsd:date">
         <xsd:simpleType>
            <xsd:restriction base="ImpST1">
              <xsd:maxLength value="5"></xsd:maxLength>
            </xsd:restriction>
         </xsd:simpleType>
      </xsd:union>
    </xsd:simpleType>
</xsd:schema>