title: why xml schema is saying date is not valid?
body: <p>I have a schema file and I am validating against an xml. But it is saying date of birth (date) isn't valid date. I just deleted other tags from the schema otherwise it would make it too long to read. Can anyone spot what I am doing wrong? I don't have much experience using xml schema before.</p>
  
  <p>I am using vb.net by the way.</p>
  
  <p>My xml as follow.</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;EEL&gt;
    &lt;CANDIDATE&gt;
    &lt;SURNAME&gt;JONNY&lt;/SURNAME&gt;
    &lt;FORENAME&gt;WALKER&lt;/FORENAME&gt;
    &lt;DOB&gt;29/12/2005&lt;/DOB&gt;
    &lt;SEX&gt;M&lt;/SEX&gt;  
    &lt;POSTCODE&gt;DD12DL&lt;/POSTCODE&gt; 
    &lt;/CANDIDATE&gt;
    &lt;/EEL&gt;
  </code></pre>
  
  <p>in the schema, </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;xs:element name="EEL"&gt;
      &lt;xs:complexType&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element maxOccurs="unbounded" name="CANDIDATE"&gt;
                  &lt;xs:complexType&gt;
                      &lt;xs:sequence&gt;
                                                 &lt;xs:element name="DOB" type="xs:date" minOccurs ="1" maxOccurs="1" /&gt;
                                              &lt;/xs:sequence&gt;
                  &lt;/xs:complexType&gt;
              &lt;/xs:element&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p></p>