Index: AttributeList.java =================================================================== RCS file: /home/cvspublic/jdom/src/java/org/jdom/AttributeList.java,v retrieving revision 1.6 diff -c -r1.6 AttributeList.java *** AttributeList.java 2002/03/12 07:57:06 1.6 --- AttributeList.java 2002/03/15 00:29:53 *************** *** 408,422 **** if (index < 0) { return false; } ! return (list.remove(index) == null) ? false : true; } /** Remove the parent of a Attribute */ private void removeParent(Object obj) { ! if (obj instanceof Attribute) { ! Attribute attribute = (Attribute) obj; ! attribute.setParent(null); ! } } /** --- 408,421 ---- if (index < 0) { return false; } ! remove(index); ! return true; } /** Remove the parent of a Attribute */ private void removeParent(Object obj) { ! Attribute attribute = (Attribute) obj; ! attribute.setParent(null); } /**