title: XSD Error: Character content is not allowed, because the content type is empty
body: <p>I am getting a validation error from the following XSD:</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;
  &lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
     &lt;xsd:element name="People"&gt;
        &lt;xsd:complexType&gt;
           &lt;xsd:sequence&gt;
              &lt;xsd:element name="Person" maxOccurs="unbounded"&gt;
                   &lt;xsd:complexType&gt;
                      &lt;xsd:attribute name="name" type="xsd:string" use="required" /&gt;
                   &lt;/xsd:complexType&gt;
               &lt;/xsd:element&gt;
           &lt;/xsd:sequence&gt;
        &lt;/xsd:complexType&gt;
     &lt;/xsd:element&gt;
  &lt;/xsd:schema&gt;
  </code></pre>
  
  <p>when using the following XML to validate:</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;
  &lt;People&gt;
      &lt;Person name='john'&gt;
          a nice person
      &lt;/Person&gt;
      &lt;Person name='sarah'&gt;
          a very nice person
      &lt;/Person&gt;
      &lt;Person name='chris'&gt;
          the nicest person in the world
     &lt;/Person&gt;
  &lt;/People&gt;
  </code></pre>
  
  <p>Returns the following error:</p>
  
  <pre><code>lxml.etree.XMLSyntaxError: Element 'Person': Character content is not allowed, because the content type is empty.
  </code></pre>
  
  <p>What am I missing?</p>