warning patches from Peter Breitenlohner serious DTD parsing speedups,

* testdso.c xmlregexp.c: warning patches from Peter Breitenlohner
* include/libxml/valid.h valid.c parser.c: serious DTD parsing
  speedups, start to deprecate 3 ElementDef related entry point
  and replace them with better ones.
Daniel
diff --git a/xmlregexp.c b/xmlregexp.c
index 2b1919e..7638c71 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -19,7 +19,7 @@
 
 #ifdef LIBXML_REGEXP_ENABLED
 
-#define DEBUG_ERR
+/* #define DEBUG_ERR */
 
 #include <stdio.h>
 #include <string.h>
@@ -3343,7 +3343,7 @@
 #ifdef DEBUG_ERR
 static void testerr(xmlRegExecCtxtPtr exec) {
     const xmlChar *string;
-    const xmlChar *values[5];
+    xmlChar *values[5];
     int nb = 5;
     int nbneg;
     int terminal;