possible mem leak patch from Jason Adams integrated xf:escape-uri() from

* xpath.c: possible mem leak patch from Jason Adams
* xpath.c: integrated xf:escape-uri() from Wesley Terpstra
  in the XQuery namespace
* configure.in: preparing 2.4.24
* doc/*.html: updated the web pages
* python/generator.py: closing bug #85258 by generating conditional
  compile check to avoid linking to routines not configured in.
Daniel
diff --git a/testSchemas.c b/testSchemas.c
index 40c0c8b..a22c429 100644
--- a/testSchemas.c
+++ b/testSchemas.c
@@ -49,9 +49,11 @@
     xmlSchemaPtr schema = NULL;
 
     for (i = 1; i < argc ; i++) {
+#ifdef LIBXML_DEBUG_ENABLED
 	if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug")))
 	    debug++;
 	else
+#endif
 	if ((!strcmp(argv[i], "-noout")) || (!strcmp(argv[i], "--noout"))) {
 	    noout++;
         }
@@ -69,8 +71,10 @@
 			stderr);
 		schema = xmlSchemaParse(ctxt);
 		xmlSchemaFreeParserCtxt(ctxt);
+#ifdef LIBXML_DEBUG_ENABLED
 		if (debug)
 		    xmlSchemaDump(stdout, schema);
+#endif
 	    } else {
 		xmlDocPtr doc;
 
@@ -109,7 +113,9 @@
 	printf("Usage : %s [--debug] [--noout] schemas XMLfiles ...\n",
 	       argv[0]);
 	printf("\tParse the HTML files and output the result of the parsing\n");
+#ifdef LIBXML_DEBUG_ENABLED
 	printf("\t--debug : dump a debug tree of the in-memory document\n");
+#endif
 	printf("\t--noout : do not print the result\n");
     }
     xmlSchemaCleanupTypes();