[Mono-dev] explicit conversion to bool and bool? on XElement
dmitchell at logos.com
Wed Jul 14 16:53:38 EDT 2010
Currently (or at least as of revision 147679), the explicit conversion to bool for XElement calls System.Xml.XmlConvert.ToBoolean(), which is case sensitive. However, Microsoft's implementation of the explicit conversion is case insensitive.
Attached is a patch that corrects this issue by converting the convent of the XElement to lower case before sending it to XmlConvert.ToBoolean().
I would very much appreciate it if someone would review/apply this patch (or fix the issue in some other way).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list