[MonoDevelop] PATCH: System.Xml.Linq DTD round-trip
Federico Di Gregorio
fog at initd.org
Thu Apr 2 04:15:13 EDT 2009
Currently the DTD SYSTEMID is not correctly set in the XDocumentType
object when parsing an XML file. This simple one-line patch fixes that.
Ok to commit?
Index: class/System.Xml.Linq/System.Xml.Linq/XNode.cs
===================================================================
--- class/System.Xml.Linq/System.Xml.Linq/XNode.cs (revisione 130841)
+++ class/System.Xml.Linq/System.Xml.Linq/XNode.cs (copia locale)
@@ -181,7 +181,7 @@
case XmlNodeType.DocumentType:
XDocumentType d = new XDocumentType (r.Name,
r.GetAttribute ("PUBLIC"),
- r.GetAttribute ("System"),
+ r.GetAttribute ("SYSTEM"),
r.Value);
d.FillLineInfoAndBaseUri (r, options);
r.Read ();
federico
--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer fog at debian.org
INIT.D Developer fog at initd.org
The only thing I see is if you are pumping so much data into the
database all the time when do you expect to look at it?
-- Charlie Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
firmata digitalmente
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090402/531932cb/attachment-0001.bin
More information about the Monodevelop-list
mailing list