title: XML Empty value for INT Type
body: <pre><code> &lt;xs:element name="EmpVisionPlanExist" minOccurs ="0"&gt;
   &lt;xs:simpleType&gt;
   &lt;xs:union memberTypes="INT EmptyStrings "/&gt;
   &lt;/xs:simpleType&gt;
   &lt;/xs:element&gt;
  
  &lt;xs:simpleType name="Int"&gt;
  &lt;xs:restriction base="xs:integer"&gt;
  &lt;xs:pattern value="[01]"/&gt;
  &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  
  &lt;xs:simpleType name="EmptyStrings"&gt;
  &lt;xs:restriction base="xs:token"&gt;
  &lt;xs:enumeration value=""/&gt;
  &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  </code></pre>
  
  <p>if  i give my xml as</p>
  
  <pre><code>&lt;EmpVisionPlanExist&gt;&lt;/EmpVisionPlanExist&gt;
  </code></pre>
  
  <p>it is cought in xsd validation.
  But i want it to be allowed .</p>