diff options
-rw-r--r-- | mcs/class/System.XML/System.Xml/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlTextWriter.cs | 6 |
2 files changed, 9 insertions, 1 deletions
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 <tim@timcoleman.com> + * XmlTextWriter.cs: + Partial implementation of WriteQualifiedName (). + 2002-08-07 Kral Ferch <kral_ferch@hotmail.com> * 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) |