[Mono-dev] [PATCH] Minor fixes for XmlElement & XmlTextWriter

Gert Driesen gert.driesen at telenet.be
Tue Dec 27 06:35:46 EST 2005


Hi,

I've attached a patch that fixes the following minor issues in XmlElement
and XmlTextWriter :

- Setting XmlElement.Prefix to null should not result in
ArgumentNullException on 2.0 profile
- XmlTextWriter.WriteNmToken should throw ArgumentException if name is null
or zero-length string
- XmlTextWriter.WriteWhitespace should throw ArgumentException if name is
null or zero-length string

All changes are accompanied by unit tests and have been tested on Mono
1.0/2.0 profile, and MS.NET 1.1/2.0.

Is it ok to commit these changes (as is) ?

Gert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml.diff
Type: application/octet-stream
Size: 7150 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051227/3cd0e309/attachment.obj 


More information about the Mono-devel-list mailing list