<?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 element declaration with substitutionGroup -->

   <xsd:element name="elem1" type="xsd:string"/>

   <xsd:element name="elem2" type="xsd:string" substitutionGroup="elem1"/>

</xsd:schema>
