Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Diamond <injektilo@mono-cvs.ximian.com>2002-08-17 07:20:36 +0400
committerJason Diamond <injektilo@mono-cvs.ximian.com>2002-08-17 07:20:36 +0400
commit5a5f87e557cd1b2534c14236c4f3f9d99d4c7d15 (patch)
tree5e2561ac0bca32e33e954b459b0c593ef053b8f1 /mcs/class/System.XML/System.Xml
parentcdd9ebc625afd014c4f754ed184686bb30a156d9 (diff)
2002-08-16 Jason Diamond <jason@injektilo.org>
* XmlElement.cs: Fixed writing out qualified elements courtesy of Marcus B�rgel <marcus.buergel@gmx.de>. svn path=/trunk/mcs/; revision=6694
Diffstat (limited to 'mcs/class/System.XML/System.Xml')
-rw-r--r--mcs/class/System.XML/System.Xml/ChangeLog5
-rw-r--r--mcs/class/System.XML/System.Xml/XmlElement.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/ChangeLog b/mcs/class/System.XML/System.Xml/ChangeLog
index 81e788b9c70..9be31a65fc1 100644
--- a/mcs/class/System.XML/System.Xml/ChangeLog
+++ b/mcs/class/System.XML/System.Xml/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-16 Jason Diamond <jason@injektilo.org>
+
+ * XmlElement.cs: Fixed writing out qualified elements courtesy of
+ Marcus Bürgel <marcus.buergel@gmx.de>.
+
2002-08-13 Tim Coleman <tim@timcoleman.com>
* XmlTextWriter.cs:
Partial implementation of WriteQualifiedName ().
diff --git a/mcs/class/System.XML/System.Xml/XmlElement.cs b/mcs/class/System.XML/System.Xml/XmlElement.cs
index 6925b8f0dea..67f1070bc96 100644
--- a/mcs/class/System.XML/System.Xml/XmlElement.cs
+++ b/mcs/class/System.XML/System.Xml/XmlElement.cs
@@ -274,7 +274,7 @@ namespace System.Xml
public override void WriteTo (XmlWriter w)
{
- w.WriteStartElement(LocalName);
+ w.WriteStartElement(Prefix, LocalName, NamespaceURI);
foreach(XmlNode attributeNode in Attributes)
attributeNode.WriteTo(w);