Ray
Sun Aug 10 20:05:14 CDT 2003
Good point, I have been using the .ToString object
function instead of XmlConvert.ToString!
Many thanks :D
>-----Original Message-----
>Ray Price <ray.price@gartner.com> wrote:
>> When I write out a boolean with the text writer, it
>> writes out 'False'. When I try and read it in, using
>> XmlConvert.ToBoolean, it errors out because it is
>> expecting 'false' (all lower case). Is this a known
bug?
>
>It doesn't sound like a bug to me. It sounds to me like
you should be
>writing out using XmlConvert.ToString(bool) rather than
relying on the
>default implementation from a text writer. Don't forget
that other
>things might particularly want False instead of false.
>
>--
>Jon Skeet - <skeet@pobox.com>
>
http://www.pobox.com/~skeet/
>If replying to the group, please do not mail me too
>.
>