title: No character data is allowed by content model - XSD
body: <p>Trying to validate a small xml I get the following error: no character data is allowed by content model.</p>
  
  <p>This is my example xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;plats xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="1_e.xsd"&gt;
      &lt;primer codi='3'&gt;Caldo de verdures&lt;/primer&gt;
      &lt;segon codi='4'&gt;Pollastre al forn&lt;/segon&gt;
      &lt;primer codi='7'&gt;Spaguettis&lt;/primer&gt;
      &lt;segon codi='12'&gt;Llus a la planxa&lt;/segon&gt;
  &lt;/plats&gt;
  </code></pre>
  
  <p>And this is my xsd:</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"&gt;
  
  &lt;xs:complexType name="t_primer"&gt;
    &lt;xs:choice&gt;
      &lt;xs:element name="primer" type="xs:string" /&gt;
    &lt;/xs:choice&gt;
    &lt;xs:attribute name="codi" type="xs:string" /&gt;
  &lt;/xs:complexType&gt;
  
  &lt;xs:complexType name="t_segon"&gt;
    &lt;xs:choice&gt;
      &lt;xs:element name="segon" type="xs:string" /&gt;
    &lt;/xs:choice&gt;
    &lt;xs:attribute name="codi" type="xs:string" /&gt;
  &lt;/xs:complexType&gt;
  
    &lt;xs:element name="plats"&gt;
      &lt;xs:complexType&gt;
       &lt;xs:choice&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="primer" type="t_primer" /&gt;
        &lt;/xs:sequence&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="segon" type="t_segon" /&gt;
        &lt;/xs:sequence&gt;
       &lt;/xs:choice&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>I am not able to find where I am wrong and the code looks nice...</p>