title: The string '01/06/2015' is not a valid AllXsd value
body: <p>I am getting this error</p>
  
  <blockquote>
    <p>The string '01/06/2015' is not a valid AllXsd value</p>
  </blockquote>
  
  <p>My XSD is:</p>
  
  <pre><code>&lt;xs:element name="PassingDate"&gt;
                  &lt;xs:simpleType&gt;
                  &lt;xs:restriction base="xs:date"&gt;
                  &lt;xs:pattern value="\d{2}[/]\d{2}[/]\d{4}"&gt;&lt;/xs:pattern&gt;
                  &lt;/xs:restriction&gt;
                  &lt;/xs:simpleType&gt;
                  &lt;/xs:element&gt;
  </code></pre>
  
  <p>I am reading my XML into a <code>DataSet</code> and then I have to perform <strong>sorting</strong> on the basis of <code>PassingDate</code>.</p>
  
  <p>If I will now convert <code>PassingDate</code> into dataType date, then sorting will be done on the basis of string only. Which will lead to wrong output.</p>
  
  <p>How to format date in <code>dd/MM/yyyy</code>? </p>