Case insensitive Deserialization
<p>I have an XML file where 
</p>

<p>We have defined classes to serialize or deserialize XML.</p>

<p>When we deserialize, if the XML contains like below where "<strong>type</strong>" attribute is in upper case, its throwing error like there is an error in xml(2,2) like that.</p>

<pre><code>&lt;document text="BlankPDF" name="BlankPDF" type="PDF" path="" /&gt;
</code></pre>

<p>...</p>

<pre><code>[DescriptionAttribute("The sharepoint's document type.")]
[XmlAttribute("type")]
public DocumentType Type
{
    get;
    set;
}

public enum DocumentType
{
    pdf,
    ppt,
    pptx,
    doc,
    docx,
    xlsx,
    xls,
    txt,
    jpg,
    bmp,
    jpeg,
    tiff,
    icon
}
</code></pre>

<p>this is how we have defined the attribute.</p>

<p><strong>Is it possible to ignore case while deserializing XML?</strong></p>
