[Mono-devel-list] [PATCH] fix for System.Xml.XmlTextWriter.

Eran Domb erand at mainsoft.com
Wed Nov 19 02:39:55 EST 2003


Hello
I found a problem in System.Xml.XmlTextWriter.WriteStartAttribute(). We
try to add to the newAttributeNamespaces a prefix which already exists
and we get an exception (DuplicateKeyException). The problem is that
when generating an XmlSchema from DataSet we produce to attributes
(IsDataSet and Locale) with the same prefix and namespace which is the
way MS.Net do it. But we get a DuplicateKeyException. (You can find the
source in System.Data.DataSet.BuildScema()).
 
Attached is the diff file with the change. If no one objects I will
commit.
 
Thanks
Eran Domb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031119/2cb312e1/attachment.html 


More information about the Mono-devel-list mailing list