[Mono-devel-list] [PATCH] fix for System.Xml.XmlTextWriter.
erand at mainsoft.com
Wed Nov 19 02:39:55 EST 2003
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list