XmlSerializer: The string '' is not a valid AllXsd value.
Posted
by ryudice
on Stack Overflow
See other posts from Stack Overflow
or by ryudice
Published on 2010-05-18T23:06:39Z
Indexed on
2010/05/18
23:10 UTC
Read the original article
Hit count: 283
I'm getting this message,"The string '7/22/2006 12:00:00 AM' is not a valid AllXsd value.", when deserializing an XML, the element contains a date, this is the property that is supposed to be mapped to the element:
[XmlElement("FEC_INICIO_REL",typeof(DateTime))]
public DateTime? FechaInicioRelacion { get; set; }
Am I doing something wrong?
© Stack Overflow or respective owner