2002-11-13 Duncan Mak <duncan@ximian.com>
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Thu, 14 Nov 2002 00:26:09 +0000 (00:26 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Thu, 14 Nov 2002 00:26:09 +0000 (00:26 -0000)
* XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
compiling.

svn path=/trunk/mcs/; revision=8977

mcs/class/System.XML/System.Xml/ChangeLog
mcs/class/System.XML/System.Xml/XmlElement.cs

index 37258a739ecec4c40e335a04c0bccdfb165681a0..36d8b2333e8d79f20a9b376f7516b646b130898a 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-13  Duncan Mak  <duncan@ximian.com>
+
+       * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
+       compiling.
+
 2002-11-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
 
        * XmlDocument.cs : unified all constructors, added ConventionalParser,
index 9e89c4c51b5b846f8647105a1e0ead15305126ce..2b1c8f3d19143c1181f0bfb18937b610ef67ca8c 100644 (file)
@@ -22,6 +22,7 @@ namespace System.Xml
                private string localName;
                private string namespaceURI;
                private string prefix;
+               private bool isEmpty;
 
                #endregion
 
@@ -95,11 +96,11 @@ namespace System.Xml
                        }
                }
 
-               [MonoTODO]
+               [MonoTODO ("This is only a temporary fix, remove ASAP!")]
                public bool IsEmpty {
-                       get { throw new NotImplementedException (); }
+                       get { return isEmpty; }
 
-                       set { throw new NotImplementedException (); }
+                       set { isEmpty = value; }
                }
 
                public override string LocalName {