From 8d36a312206d3803f587cb81add7ea6875d58c10 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 22 Sep 2007 23:53:20 +0000 Subject: Note the need for handling of defaulted attributes in dom_element_remove_attribute{_node} svn path=/trunk/dom/; revision=3578 --- src/core/element.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/core/element.c b/src/core/element.c index 452d2c6..16c6932 100644 --- a/src/core/element.c +++ b/src/core/element.c @@ -330,6 +330,8 @@ dom_exception dom_element_remove_attribute(struct dom_element *element, dom_node_unref(a); } + /** \todo defaulted attribute handling */ + return DOM_NO_ERR; } @@ -494,6 +496,8 @@ dom_exception dom_element_remove_attribute_node(struct dom_element *element, a->previous = a->next = a->parent = NULL; + /** \todo defaulted attribute handling */ + /* Return the detached node */ dom_node_ref(a); *result = attr; -- cgit v1.2.3