<?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:n="urn:wst-test" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  targetNamespace="urn:wst-test">
  
    <xsd:complexType name="TClass_1">
	    <xsd:sequence>
		    <xsd:element name="intField" type="xsd:int" />
        <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
	    </xsd:sequence>
      <xsd:anyAttribute processContents="strict"/>
    </xsd:complexType>

    <xsd:complexType name="TClassSampleTypeAll">
	    <xsd:all>
		    <xsd:element name="intField" type="xsd:int" />
        <xsd:element name="strField" type="xsd:string" minOccurs="1" maxOccurs="1"/>
	    </xsd:all>
	    <xsd:attribute name="strAtt" type="xsd:string"/>
	    <xsd:anyAttribute processContents="skip"/>
    </xsd:complexType>
    
    <xsd:complexType name="TClass_2">
	    <xsd:sequence>
		    <xsd:element name="SomeField" type="xsd:string" />
	    </xsd:sequence>
    </xsd:complexType>
    
    <xsd:complexType name="TClassSampleDerivedType">
		  <xsd:complexContent>
			  <xsd:extension base="n:TClass_2">    
    	    <xsd:sequence>
    		    <xsd:element name="intFieldEx" type="xsd:int" />
            <xsd:element name="strFieldEx" type="xsd:string" minOccurs="1" maxOccurs="1"/>
            <xsd:any processContents="skip" maxOccurs="unbounded"/>
    	    </xsd:sequence>
    	    <xsd:attribute name="strAttEx" type="xsd:string"/>
    	    <xsd:attribute name="intAttEx" type="xsd:int"/>
          <xsd:anyAttribute processContents="lax"/>
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>
        
</xsd:schema>
