From b5443be6efa3f6b8e7a242e5f66c8e69193c813e Mon Sep 17 00:00:00 2001 From: Tim Coleman Date: Wed, 14 Aug 2002 02:42:16 +0000 Subject: 2002-08-13 Tim Coleman * XmlTextWriter.cs: Partial implementation of WriteQualifiedName (). svn path=/trunk/mcs/; revision=6620 --- mcs/class/System.XML/System.Xml/ChangeLog | 4 ++++ mcs/class/System.XML/System.Xml/XmlTextWriter.cs | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'mcs/class/System.XML/System.Xml') diff --git a/mcs/class/System.XML/System.Xml/ChangeLog b/mcs/class/System.XML/System.Xml/ChangeLog index ad5406760f8..81e788b9c70 100644 --- a/mcs/class/System.XML/System.Xml/ChangeLog +++ b/mcs/class/System.XML/System.Xml/ChangeLog @@ -1,3 +1,7 @@ +2002-08-13 Tim Coleman + * XmlTextWriter.cs: + Partial implementation of WriteQualifiedName (). + 2002-08-07 Kral Ferch * XmlCharacterData.cs: Implemented AppendData(), DeleteData(), InsertData(), and ReplaceData(). These methods fire the diff --git a/mcs/class/System.XML/System.Xml/XmlTextWriter.cs b/mcs/class/System.XML/System.Xml/XmlTextWriter.cs index 73acae256e2..a0779362129 100644 --- a/mcs/class/System.XML/System.Xml/XmlTextWriter.cs +++ b/mcs/class/System.XML/System.Xml/XmlTextWriter.cs @@ -407,7 +407,11 @@ namespace System.Xml [MonoTODO] public override void WriteQualifiedName (string localName, string ns) { - throw new NotImplementedException (); + if (localName == null || localName == String.Empty) + throw new ArgumentException (); + + CheckState (); + w.Write ("{0}:{1}", ns, localName); } public override void WriteRaw (string data) -- cgit v1.2.3