title: xsd validation problems
body: <p>i know i have posted this question several times. but i'm now getting a new error, that i need help with. here is the error in which i am receiving.  "s4s-elt-invalid-content.1: The content of '#AnonType_orders' is invalid. Element 'element' is invalid, misplaced, or occurs too often."</p>
  
  <p>here is my xsd file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;xs:simpleType name="reach"&gt;
          &lt;xs:restriction base = "xs:integer"&gt;
            &lt;xs:enumeration value = "50" /&gt;
            &lt;xs:enumeration value = "75" /&gt; 
            &lt;xs:enumeration value = "100" /&gt;
           &lt;/xs:restriction&gt;
   &lt;/xs:simpleType&gt;
  &lt;xs:simpleType name = "language"&gt;
      &lt;xs:restriction base = "xs:string"&gt;
          &lt;xs:enumeration value = "Spanish" /&gt;
          &lt;xs:enumeration value = "Chinese" /&gt;
          &lt;xs:enumeration value = "English" /&gt;
          &lt;xs:enumeration value = "German" /&gt;
          &lt;xs:enumeration value = "French" /&gt;
       &lt;/xs:restriction&gt;
     &lt;/xs:simpleType&gt;
  &lt;xs:simpleType name="caseColor"&gt;
      &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:enumeration value="Lemonde" /&gt;
          &lt;xs:enumeration value="Strawberry" /&gt;
          &lt;xs:enumeration value="Lime" /&gt;
          &lt;xs:enumeration value="Blueberry" /&gt;
      &lt;/xs:restriction&gt; 
    &lt;/xs:simpleType&gt;
  &lt;xs:simpleType name="numOfBat"&gt;
      &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:enumeration value="1" /&gt;
          &lt;xs:enumeration value="2" /&gt;
          &lt;xs:enumeration value="3" /&gt;
          &lt;xs:enumeration value="4" /&gt;
      &lt;/xs:restriction&gt; 
    &lt;/xs:simpleType&gt;
  &lt;xs:simpleType name="numOfCam"&gt;
      &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:pattern value="1|2" /&gt;
      &lt;/xs:restriction&gt; 
    &lt;/xs:simpleType&gt;
  &lt;xs:simpleType name="volt"&gt;
      &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:enumeration value="110-120" /&gt;
          &lt;xs:enumeration value="220-240" /&gt;
      &lt;/xs:restriction&gt; 
    &lt;/xs:simpleType&gt;
  &lt;xs:element name="orders"&gt;
  &lt;xs:complexType&gt;
  &lt;xs:element name ="order" maxOccurs="unbounded"&gt; 
  &lt;xs:complexType&gt;
   &lt;xs:sequence&gt;
      &lt;xs:element name="custName" type ="xs:string" /&gt;
                  &lt;xs:attribute name ="custID" /&gt;
  &lt;xs:element name="case" type="xs:caseColor" &gt;
  &lt;/xs:element&gt;
  &lt;xs:element name="batteries" type="xs:numOfBat" default = 
  "1"&gt; 
  &lt;/xs:element&gt;
  &lt;xs:element name="recharger" type="xs:volt" /&gt; 
  &lt;xs:element name="arm"&gt; 
     &lt;xs:element name ="reaches" minOccurs="2" maxOccurs="3" 
  type="xs:reach" /&gt;
  &lt;/xs:element&gt;
  &lt;xs:element name ="camera" type="xs:numOfCam" /&gt; 
  &lt;xs:element name = "speech" type="xs:language" /&gt;
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>here is my xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;orders&gt;
  &lt;order&gt;
  &lt;custName custID="11223"&gt; John Doe &lt;/custName&gt;
  &lt;case&gt; Strawberry &lt;/case&gt;
  &lt;batteries&gt; 2 &lt;/batteries&gt;
  &lt;recharger&gt; 110-120 V &lt;/recharger&gt;
  &lt;arm&gt;  
     &lt;reach&gt; 50 &lt;/reach&gt;
     &lt;reach&gt; 100 &lt;/reach&gt;
  &lt;/arm&gt;
  &lt;camera&gt; 2 &lt;/camera&gt;
  &lt;speech&gt; Spanish &lt;/speech&gt;
  &lt;/order&gt;
  &lt;order&gt;
  &lt;custName custID="45392"&gt; Jane Camp &lt;/custName&gt;
  &lt;case&gt; Lime &lt;/case&gt;
  &lt;batteries&gt; 4 &lt;/batteries&gt;
  &lt;recharger&gt; 220-240 V &lt;/recharger&gt;
  &lt;arm&gt; 3
     &lt;reach&gt; 75 &lt;/reach&gt;
     &lt;reach&gt; 75 &lt;/reach&gt;
     &lt;reach&gt; 100 &lt;/reach&gt;
  &lt;/arm&gt;
  &lt;camera&gt; 1 &lt;/camera&gt;
  &lt;speech&gt; Chinese &lt;/speech&gt;
  &lt;/order&gt;
  &lt;order&gt;
  &lt;custName custID="69482"&gt; George Carlton &lt;/custName&gt;
  &lt;case&gt; Blueberry &lt;/case&gt;
  &lt;batteries&gt; 1 &lt;/batteries&gt;
  &lt;recharger&gt; 110-120 V &lt;/recharger&gt;
  &lt;arm&gt; 
     &lt;reach&gt; 75 &lt;/reach&gt;
     &lt;reach&gt; 100 &lt;/reach&gt;
  &lt;/arm&gt;
  &lt;camera&gt; 2 &lt;/camera&gt;
  &lt;speech&gt; French &lt;/speech&gt;
  &lt;/order&gt;
  &lt;/orders&gt;
  </code></pre>