title: Element 'element' is invalid, misplaced, or occurs too often
body: <p>I'm just trying to do a little xmll file with its xsd file but i don't understand the errors I get in the w3c code validator.
  My xml code is valid. My xsd code was valid but when I checked the code together, I got errors, I found that my errors were that I was using the  even when I only had 1 element. I corrected this. Now my xsd code in not valid anymore (just by erasng the  ) and I can't find why I get this error. </p>
  
  <p>Here is my xml code :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;List_Of_Skills&gt;
  &lt;Skill&gt;
  &lt;Name&gt; PHP &lt;/Name&gt;
  &lt;ID&gt; 1 &lt;/ID&gt;
  &lt;Description&gt; Able to code in PHP &lt;/Description&gt; 
  &lt;/Skill&gt;
  
  &lt;Skill&gt;
  &lt;Name&gt; XML &lt;/Name&gt; 
  &lt;ID&gt; 2 &lt;/ID&gt;
  &lt;Description&gt; Able to code in XML &lt;/Description&gt;
  &lt;/Skill&gt;
  
  &lt;Skill&gt; 
  &lt;Name&gt; C# &lt;/Name &gt; 
  &lt;ID&gt; 3 &lt;/ID&gt;
  &lt;Description&gt; Able to code applications windows or web in C#&lt;/Description&gt;
  &lt;/Skill&gt;
  
  &lt;Skill&gt; 
  &lt;Name&gt; JavaScript &lt;/Name&gt;
  &lt;ID&gt; 4 &lt;/ID&gt; 
  &lt;Description&gt; Able to create web applications and animations in JavaScript &lt;/Description&gt;
  &lt;/Skill&gt;
  
  &lt;Skill&gt;
  &lt;Name&gt; Python &lt;/Name&gt;
  &lt;ID&gt; 5 &lt;/ID&gt;
  &lt;Description&gt; Able to code applications in Python &lt;/Description&gt;
  &lt;/Skill&gt;
  
  &lt;Skill&gt;
  &lt;Name&gt; Ajax &lt;/Name&gt;
  &lt;ID&gt; 6 &lt;/ID&gt;
  &lt;Description&gt; Able to code web applications in Ajax &lt;/Description&gt;
  &lt;/Skill&gt;
  
  
  &lt;/List_Of_Skills&gt;
  </code></pre>
  
  <p>Here is my xsd code :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  
  &lt;xs:element name="List_Of_Skills"&gt;
  &lt;xs:complexType&gt;
  
      &lt;xs:element name="Skill"&gt;
      &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
          &lt;xs:element name="Name" type="xs:string"/&gt; 
          &lt;xs:element name="ID" type="xs:integer"/&gt; 
          &lt;xs:element name="Description" type="xs:string"/&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>and here is the error : 
  Error - Line 8, 27: org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 27; s4s-elt-invalid-content.1: The content of '#AnonType_List_Of_Skills' is invalid.  Element 'element' is invalid, misplaced, or occurs too often.</p>
  
  <p>If someone has any information thank you</p>
  
  <p>Mayeul</p>