XML deserialization using XSD/Code generation - Parsing Error
===

I'm trying to deserialize an XML document using an XSD. The error I am getting is:

> "There is an error in XML document (22, 8)."

The `InnerException` is 

> "Input string was not in a correct format."

Now, row 22 of my sample XML document just has this:

    <PremiumPaymentDate>2012-08-08</PremiumPaymentDate>

Nothing wrong with that as far as I can see. The XSD specifies this row similarly like:

    <xs:element name="PremiumPaymentDate" type="xs:date" minOccurs="0"/>

And the property it's trying to map to looks like this:

    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="date")]
    public System.DateTime PremiumPaymentDate {
        get {
            return this.premiumPaymentDateField;
        }
        set {
            this.premiumPaymentDateField = value;
        }
    }

I've tried removing this field completely, regenerated the code file from the XSD, changing the XSD around, changing the `minOccurs` value, changing the format of the field, removing the field data completely, and nothing is working.

I'm also wondering why everything works up until row 22, because they are about 17 fields above this one that work fine, and a few of them are dates that are set up the same exact way. This one just doesn't want to parse for some reason.

Any ideas?