It seems like XmlEnum marked values with whitespace in their names will
not be deserialized on the .NET CF 2.0
E.g:
public enum Foo {
[XmlEnum("Some Value")
Some,
[XmlEnum("Another")]
Other
}
I would expect:
<element>Some Value</element>
To deserialize into the enum Foo.Some.
All of this seems to work on the Full Framework. Does anyone know what
might be wrong with this?
Thanks.