title: deserializing enums
body: <p>I have an xml in which one of the elements has an attribute that can be blank.
  For e.g.,</p>
  
  <pre><code>&lt;tests&gt;
  &lt;test language=""&gt;
  .....
  &lt;/test&gt;
  &lt;/tests&gt;
  </code></pre>
  
  <p>Now, language is enum type in the classes created from the schema. It works fine if the language is specified, it fails to deserialize if it is blank (as shown in example).</p>
  
  <p>Edit: Code for deserialization:</p>
  
  <pre><code>XmlSerializer xmlserializer = new XmlSerializer(type);
  StringReader strreader = new StringReader(stringXML);
  Object o = serializer.Deserialize(strreader);
  </code></pre>
  
  <p>How can I handle this scenario</p>