title: XSD maxLength and minLength applied to integer
body: <p>I am having some trouble finding out how to tell the XSD that the data of a field has to have an minimum length of 12 digits and a maximum length of 14 digits. Is there someone who knows how to do this because <code>minlength</code> and <code>maxlength</code> can only be used for strings.</p>
  
  <pre><code>&lt;xs:simpleType name="timestamp_vorige_inspectie"&gt;
      &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:minLength value="12"/&gt;
      &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  </code></pre>