title: xml element, unkown name but known it's no complextype
body: <p>So im trying to validate a xml that look like this:</p>
  
  <pre><code>&lt;module name="example" alias="ex1"&gt;
  &lt;params&gt;
      &lt;p1&gt;1&lt;/p1&gt;
      &lt;pcomplex&gt;
          &lt;p&gt;2&lt;/p&gt;
      &lt;/pcomplex&gt;
      &lt;foo&gt;2&lt;/foo&gt;
      &lt;bar&gt;3&lt;/bar&gt;
      .....
      &lt;pn&gt;this is the n'th element&lt;/pn&gt;
  &lt;/params&gt;
  </code></pre>
  
  <p></p>
  
  <p>pcomplex block should throw an error because i don't want to allow any <code>complexTye</code> inside params sequence</p>
  
  <p>I have tried this with this xsd:</p>
  
  <pre><code>&lt;xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xs:element name="module"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="params" minOccurs="1" maxOccurs="1"&gt;
            &lt;xs:complexType&gt;
              &lt;xs:sequence&gt;
                &lt;xs:any processContents="lax" minOccurs="0"/&gt;
              &lt;/xs:sequence&gt;
            &lt;/xs:complexType&gt;
          &lt;/xs:element&gt;
        &lt;/xs:sequence&gt;
        &lt;xs:attribute type="xs:string" name="name" use="required"/&gt;
        &lt;xs:attribute type="xs:string" name="alias" use="required"/&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>But it fails at what im attempting to do.</p>
  
  <p>Any help will be appreciated, thank you.</p>