summaryrefslogtreecommitdiff
path: root/testapi.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2006-10-25 16:06:29 +0000
committerDaniel Veillard <veillard@src.gnome.org>2006-10-25 16:06:29 +0000
commitc8338f1a52e7712dbba5e7c2fd5f76ecf01bf14f (patch)
tree8df991b6433d4fd79f19aea9e84e56800a9bba3e /testapi.c
parent26a45c815a6c6e849cd5c3dda6a0c52fa41626d0 (diff)
downloadlibxml2-c8338f1a52e7712dbba5e7c2fd5f76ecf01bf14f.tar.gz
preparing release of libxml2-2.6.27 fix a small problem with preproc flagsLIBXML2_2_6_27
* NEWS configure.in testapi.c doc//*: preparing release of libxml2-2.6.27 * include/libxml/tree.h: fix a small problem with preproc flags Daniel
Diffstat (limited to 'testapi.c')
-rw-r--r--testapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testapi.c b/testapi.c
index ebc2bb46..01a4184a 100644
--- a/testapi.c
+++ b/testapi.c
@@ -20010,7 +20010,7 @@ test_xmlDocSetRootElement(void) {
xmlNodePtr ret_val;
xmlDocPtr doc; /* the document */
int n_doc;
- xmlNodePtr root; /* the new document root element */
+ xmlNodePtr root; /* the new document root element, if root is NULL no action is taken, to remove a node from a document use xmlUnlinkNode(root) instead. */
int n_root;
for (n_doc = 0;n_doc < gen_nb_xmlDocPtr;n_doc++) {
@@ -23593,7 +23593,7 @@ static int
test_xmlValidateNCName(void) {
int test_ret = 0;
-#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_DEBUG_ENABLED) || defined (LIBXML_HTML_ENABLED)
+#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_DEBUG_ENABLED) || defined (LIBXML_HTML_ENABLED) || defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_DOCB_ENABLED)
#ifdef LIBXML_TREE_ENABLED
int mem_base;
int ret_val;
@@ -32057,7 +32057,7 @@ test_xmlTextReaderSchemaValidate(void) {
return(test_ret);
}
-#if defined(LIBXML_READER_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
+#ifdef LIBXML_READER_ENABLED
#define gen_nb_xmlSchemaValidCtxtPtr 1
static xmlSchemaValidCtxtPtr gen_xmlSchemaValidCtxtPtr(int no ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {