diff options
author | Tim Coleman <tim@mono-cvs.ximian.com> | 2002-08-14 06:42:16 +0400 |
---|---|---|
committer | Tim Coleman <tim@mono-cvs.ximian.com> | 2002-08-14 06:42:16 +0400 |
commit | b5443be6efa3f6b8e7a242e5f66c8e69193c813e (patch) | |
tree | dadd5fe3db2bdaaec64aa32117aece29a3cd4663 /mcs/class | |
parent | 9d3742f8a45c68b3f5084b87bd902b20819e4bc9 (diff) |
2002-08-13 Tim Coleman <tim@timcoleman.com>
* XmlTextWriter.cs:
Partial implementation of WriteQualifiedName ().
svn path=/trunk/mcs/; revision=6620
Diffstat (limited to 'mcs/class')
-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) |