[Mono-dev] Re: XmlTextWriter.WriteCData bug

Atsushi Eno atsushi at ximian.com
Wed Dec 14 12:01:43 EST 2005


Please add a corresponding NUnit test(s) and commit. Thanks!

Atsushi Eno

Konstantin Triger wrote:
> Hello,
> 
>  
> 
> The following code causes an exception and the attached patch fixes it.
> Please approve commit.
> 
>  
> 
> static void Main(string[] args)
> 
> {
> 
>       StringBuilder sbVisible = new StringBuilder();
> 
>       XmlWriter w = new XmlTextWriter(new StringWriter(sbVisible));
> 
>       string sVal = null;
> 
>       w.WriteCData(sVal);
> 
> }
> 
>  
> 
> Regards,
> 
> Konstantin Triger
> 
>  
> 
> 




More information about the Mono-devel-list mailing list