title: XML validation fails on Oracle for empty (string) element
body: <p>Validation of my XML document fails on Oracle (via oraxsd c library), but succeeds in other tools.</p>
  
  <p>Oracle validation error:</p>
  
  <p>LSX-00009: data missing for type "#simple"<br>
  LSX-00213: only 0 occurrences of particle "sequence", minimum is 1</p>
  
  <p>For following XSD: </p>
  
  <pre><code>&lt;xs:element name="AGREE" minOccurs="0"&gt;
      &lt;xs:simpleType&gt;
          &lt;xs:restriction base="type7434"/&gt;
      &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
  
  &lt;xs:simpleType name="type7434"&gt;
      &lt;xs:annotation&gt;
          &lt;xs:documentation&gt;AGREE&lt;/xs:documentation&gt;
      &lt;/xs:annotation&gt;
      &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:maxLength value="70"/&gt;
      &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  </code></pre>
  
  <p>And following XML:</p>
  
  <pre><code>&lt;AGREE/&gt;
  </code></pre>
  
  <p>Same result for:
      <code>&lt;AGREE&gt;&lt;/AGREE&gt;</code></p>
  
  <p>Is the Oracle validation wrong in this case? If so, what would be the workaround?</p>
  
  <p>I have little control over XSD, some control over XML and full access to validation process itself.</p>
  
  <p>Oracle version: Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit</p>