removed extraneous xmlRemoveProp definition added item about
* tree.h: removed extraneous xmlRemoveProp definition
* TODO: added item about --disable-corba configure switch
* tree.c parser.c: fixed problems for xmlCopyDoc and postvalidation
* nanoftp.c: fixed include problems giving troubles on AIX and
slowlaris
* xmlIO.[ch] valid.h tree.[ch] xlink.c xmlmemory.c uri.c
parser.c nanoftp.c nanohttp.c SAX.c testSAX.c :
comment and headers changes to lower gtk-doc number of warnings
* doc/html/*: rebuilt docs
Daniel
diff --git a/tree.c b/tree.c
index b067876..2cc4b51 100644
--- a/tree.c
+++ b/tree.c
@@ -2282,17 +2282,13 @@
while (node != NULL) {
q = xmlStaticCopyNode(node, doc, parent, 1);
- if (parent == NULL) {
- if (ret == NULL) ret = q;
+ if (ret == NULL) {
+ q->prev = NULL;
+ ret = p = q;
} else {
- if (ret == NULL) {
- q->prev = NULL;
- ret = p = q;
- } else {
- p->next = q;
- q->prev = p;
- p = q;
- }
+ p->next = q;
+ q->prev = p;
+ p = q;
}
node = node->next;
}
@@ -2415,7 +2411,8 @@
if (doc->oldNs != NULL)
ret->oldNs = xmlCopyNamespaceList(doc->oldNs);
if (doc->children != NULL)
- ret->children = xmlStaticCopyNodeList(doc->children, ret, NULL);
+ ret->children = xmlStaticCopyNodeList(doc->children, ret,
+ (xmlNodePtr)ret);
return(ret);
}
@@ -3696,7 +3693,7 @@
}
/**
- * xmlBufferAllocationScheme:
+ * xmlBufferSetAllocationScheme:
* @buf: the buffer to free
* @scheme: allocation scheme to use
*
@@ -4426,7 +4423,7 @@
/**
* xmlElemDump:
- * @buf: the XML buffer output
+ * @f: the FILE * for the output
* @doc: the document
* @cur: the current node
*