diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-27 23:03:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-27 23:03:13 +0000 |
commit | 7b83a0bb1cd4604ab6a55705c4b1c40c769090a6 (patch) | |
tree | e8740ad003d8f601a8f9d665e587233ec58c12e9 /src/core/document.c | |
parent | 024e202af7efd730c0b6de46901d2cb274556b4f (diff) | |
download | libdom-7b83a0bb1cd4604ab6a55705c4b1c40c769090a6.tar.gz libdom-7b83a0bb1cd4604ab6a55705c4b1c40c769090a6.tar.bz2 |
Modify dom_node_initialise() API to permit specification of namespace URI and prefix.
Fix up everything else to cope.
svn path=/trunk/dom/; revision=3599
Diffstat (limited to 'src/core/document.c')
-rw-r--r-- | src/core/document.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/document.c b/src/core/document.c index aedf96c..e1fc32b 100644 --- a/src/core/document.c +++ b/src/core/document.c @@ -142,7 +142,7 @@ dom_exception dom_document_create(struct dom_implementation *impl, * rest of the code, as it doesn't need to special case Documents) */ err = dom_node_initialise(&d->base, d, DOM_DOCUMENT_NODE, - NULL, NULL); + NULL, NULL, NULL, NULL); if (err != DOM_NO_ERR) { /* Clean up interned strings */ for (int i = 0; i <= DOM_NODE_TYPE_COUNT; i++) { @@ -330,7 +330,7 @@ dom_exception dom_document_get_document_element(struct dom_document *doc, dom_exception dom_document_create_element(struct dom_document *doc, struct dom_string *tag_name, struct dom_element **result) { - return dom_element_create(doc, tag_name, result); + return dom_element_create(doc, tag_name, NULL, NULL, result); } /** @@ -450,7 +450,7 @@ dom_exception dom_document_create_processing_instruction( dom_exception dom_document_create_attribute(struct dom_document *doc, struct dom_string *name, struct dom_attr **result) { - return dom_attr_create(doc, name, result); + return dom_attr_create(doc, name, NULL, NULL, result); } /** |