+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.
* XmlDocument.cs :
- added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
RemoveIdenticalAttribute()
- - Implemented GetAttributeById().
+ - Implemented GetElementById().
* XmlAttributeCollection.cs :
- added private ownerDocument property and replaced
ownerElement.OwnerDocument with it.
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;