[MonoDevelop] PATCH: System.Xml.Linq DTD round-trip
Lluis Sanchez Gual
lluis at novell.com
Thu Apr 2 07:37:31 EDT 2009
You should ask in the mono mainling list.
El dj 02 de 04 de 2009 a les 10:15 +0200, en/na Federico Di Gregorio va
escriure:
> 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
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
More information about the Monodevelop-list
mailing list