title: XSD doesn't allow me to have unbounded inside all indicator
body: <p>I'm trying to make unordered list of variables in var1 occurs twice and var2 occurs infinite times (Use case in my project is different). The  element does not allow me to use maxOccurs. </p>
  
  <p>Is there any work around for what I'm trying to do?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xs:element name="testcomment"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:all&gt;
          &lt;xs:element name="var1" type="xs:string" maxOccurs="2" /&gt;
          &lt;xs:element name="var2" type="xs:integer" maxOccurs="unbounded" /&gt;
        &lt;/xs:all&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>