2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
authorAtsushi Eno <atsushieno@gmail.com>
Sun, 27 Jul 2003 02:19:34 +0000 (02:19 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Sun, 27 Jul 2003 02:19:34 +0000 (02:19 -0000)
* XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted

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

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

index 3322b12507421122315fce7f132e05a17b39dea7..908fb95aa198cc04055407b3b2dd30a810eef3a0 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
+
 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
 
        * XmlLinkedNode.cs : added internal IsRooted.
@@ -14,7 +18,7 @@
        * XmlDocument.cs :
          - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
            RemoveIdenticalAttribute()
-         - Implemented GetAttributeById().
+         - Implemented GetElementById().
        * XmlAttributeCollection.cs :
          - added private ownerDocument property and replaced
            ownerElement.OwnerDocument with it.
index e5ce1c5eb17aed096fd08b3c923ab482ae7bf2ef..22aed946052282c461f17d7bbb717d5be19c5fe7 100644 (file)
@@ -462,7 +462,7 @@ namespace System.Xml
                        XmlAttribute attr = this.idTable [id] as XmlAttribute;
                        if (attr == null)
                                return null;
-//                     if (attr.OwnerElement == null || !attr.OwnerElement.IsRooted) {
+                       if (attr.OwnerElement == null || !attr.OwnerElement.IsRooted) {
                         if (attr.OwnerElement == null) {
                                idTable.Remove (id);
                                return null;