title: Castor generate classes for complextype not working
body: <p>Hi I have following which is not generating class file for complextypes using bindigs.xml file.</p>
  
  <p>Sample.xsd file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"&gt;
      &lt;xs:element name="Data"&gt;
          &lt;xs:annotation&gt;
              &lt;xs:documentation&gt;This section contains the supply chain message 
            data&lt;/xs:documentation&gt;
          &lt;/xs:annotation&gt;
          &lt;xs:complexType&gt;
              &lt;xs:choice&gt;
                  &lt;xs:element name="PurchaseOrder"&gt;
                      &lt;xs:complexType&gt;
                          &lt;xs:sequence&gt;
                              &lt;xs:element name="LineItem" type="LineItemType" maxOccurs="unbounded"/&gt;
                          &lt;/xs:sequence&gt;
                          &lt;xs:attribute name="OrderNumber" type="xs:string" use="required"/&gt;
                      &lt;/xs:complexType&gt;
                  &lt;/xs:element&gt;
                  &lt;xs:element name="OrderReceipt"&gt;
                      &lt;xs:complexType&gt;
                          &lt;xs:sequence&gt;
                              &lt;xs:element name="LineItem" type="ReceiptLineItemType" maxOccurs="unbounded"/&gt;
                          &lt;/xs:sequence&gt;
                          &lt;xs:attribute name="OrderNumber" type="xs:string" use="required"/&gt;
                      &lt;/xs:complexType&gt;
                  &lt;/xs:element&gt;
              &lt;/xs:choice&gt;
          &lt;/xs:complexType&gt;
      &lt;/xs:element&gt;
      &lt;xs:complexType name="SkuType"&gt;
          &lt;xs:annotation&gt;
              &lt;xs:documentation&gt;Contains Product Identifier&lt;/xs:documentation&gt;
          &lt;/xs:annotation&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="Number" type="xs:integer"/&gt;
              &lt;xs:element name="ID" type="xs:string"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
      &lt;xs:complexType name="ReceiptSkuType"&gt;
          &lt;xs:annotation&gt;
              &lt;xs:documentation&gt;Contains Product Identifier&lt;/xs:documentation&gt;
          &lt;/xs:annotation&gt;
          &lt;xs:complexContent&gt;
              &lt;xs:extension base="SkuType"&gt;
                  &lt;xs:sequence&gt;
                      &lt;xs:element name="InternalID" type="xs:string"/&gt;
                  &lt;/xs:sequence&gt;
              &lt;/xs:extension&gt;
          &lt;/xs:complexContent&gt;
      &lt;/xs:complexType&gt;
      &lt;xs:complexType name="LineItemType"&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="Sku" type="SkuType"/&gt;
              &lt;xs:element name="Value" type="xs:double"/&gt;
              &lt;xs:element name="BillingInstructions" type="xs:string"/&gt;
              &lt;xs:element name="DeliveryDate" type="xs:date"/&gt;
              &lt;xs:element name="Number" type="xs:integer"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
      &lt;xs:complexType name="ReceiptLineItemType"&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="Sku" type="ReceiptSkuType"/&gt;
              &lt;xs:element name="Value" type="xs:double"/&gt;
              &lt;xs:element name="PackingDescription" type="xs:string"/&gt;
              &lt;xs:element name="ShipDate" type="xs:dateTime"/&gt;
              &lt;xs:element name="Number" type="xs:integer"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>bindings.xml</p>
  
  <pre><code>&lt;binding xmlns="http://www.castor.org/SourceGenerator/Binding" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xsi:schemaLocation="http://www.castor.org/SourceGenerator/Binding
                  C:\\Castor\\xsd\\binding.xsd" 
              defaultBinding="element"&gt;
  
     &lt;elementBinding name="/Data/PurchaseOrder/LineItem"&gt;
        &lt;java-class name="PurchaseOrderLineItem"/&gt;
     &lt;/elementBinding&gt;
  
     &lt;elementBinding name="/Data/OrderReceipt/LineItem"&gt;
        &lt;java-class name="OrderReceiptLineItem1"/&gt;
     &lt;/elementBinding&gt;
  
     &lt;elementBinding name="/complexType:ReceiptLineItemType/Sku"&gt;
        &lt;java-class name="Xxxxxx"/&gt;
     &lt;/elementBinding&gt;
  
     &lt;elementBinding name="/complexType:LineItemType/Sku"&gt;
        &lt;java-class name="Yyyyyy"/&gt;
     &lt;/elementBinding&gt;    
  
  &lt;/binding&gt;
  </code></pre>
  
  <p>pom.xml plugin configuration :</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;castor-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;goals&gt;
                  &lt;goal&gt;generate&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;bindingfile&gt;src/main/castor/binding.xml&lt;/bindingfile&gt;
          &lt;schema&gt;src/main/castor/sample.xsd&lt;/schema&gt;
          &lt;packaging&gt;com.sg.defi.castor.correspondence&lt;/packaging&gt;
          &lt;properties&gt;src/main/castor/castorbuilder.properties&lt;/properties&gt;
      &lt;/configuration&gt; 
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Is there anything to be changed in any .properties file , inorder to get class files generated with the name given bindings.xml file for complextypes.</p>