title: Is it possible to add maxlength restriction on ComplexType?
body: <p>In my XML schema I define complex type that contains a sequence of simple string elements:</p>
  
  <pre><code>&lt;xs:complexType name="Nationalities"&gt;       
      &lt;xs:sequence maxOccurs="unbounded"&gt;
          &lt;xs:element name="Nationality"&gt;
              &lt;xs:simpleType /&gt;
          &lt;/xs:element&gt;
      &lt;/xs:sequence&gt;
  &lt;/xs:complexType
  </code></pre>
  
  <p>I want whole nationalities element to have max length of 20 chars. Is this possible?</p>