gYearMonth and ASP.NET web services
Probably I'm making something wrong, but I don't undesrtand why the XSD type gYearMonth (it's not the only one) is mapper on System.String CLR type. If I have a simple web method as following:
[WebMethod()]
public string GetYearMonth([XmlElement(DataType="gYearMonth")] string d)
{
return d;
}
I can send 2003-12 as well as abc ! Sounds strange.