title: XSD validation is not happening while setting nillable="false"
body: <p>Here is the xml file which I want to validate against below XML schema.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;Students&gt;
  &lt;Name&gt;&lt;/Name&gt;
  &lt;Phone&gt;0123987654&lt;/Phone&gt;
  &lt;Address&gt;
  In front of PNB
  &lt;/Address&gt;
  &lt;Dob&gt;2002-09-24&lt;/Dob&gt;
  &lt;/Students&gt;
  </code></pre>
  <p><strong>XML Schema</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;&gt;
  &lt;xs:element name=&quot;Students&quot;&gt;
  &lt;xs:complexType&gt;
  &lt;xs:sequence&gt;
  &lt;xs:element name=&quot;Name&quot; type=&quot;xs:string&quot; nillable=&quot;false&quot;  /&gt;
  &lt;xs:element name=&quot;Phone&quot; type=&quot;xs:integer&quot;/&gt;
  &lt;xs:element name=&quot;Address&quot; type=&quot;xs:string&quot;/&gt;
  &lt;xs:element name=&quot;Dob&quot; type=&quot;xs:date&quot; /&gt;
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  <p>During validation, I didn't notice any error though Name Field was empty and nillable=&quot;false&quot; was set in schema. The name field shouldn't be empty and if no value is provided in error then validation error should have been thrown.
  Can anybody suggest solution how same can be implemented through MinLength as for simpletype it is possible for me but complex type not sure how to proceed further.</p>