had to fix generation and rebuild. the testapi found a bug in the last

* gentest.py testapi.c: had to fix generation and rebuild.
* valid.c: the testapi found a bug in the last code of course !
Daniel
diff --git a/testapi.c b/testapi.c
index 2dd0098..bf829dc 100644
--- a/testapi.c
+++ b/testapi.c
@@ -24401,6 +24401,7 @@
         type = gen_xmlElementContentType(n_type, 2);
 
         ret_val = xmlNewDocElementContent(doc, (const xmlChar *)name, type);
+        xmlFreeDocElementContent(doc, ret_val); ret_val = NULL;
         desret_xmlElementContentPtr(ret_val);
         call_tests++;
         des_xmlDocPtr(n_doc, doc, 0);