fixed a weird error where validity context whould not show up if warnings
* valid.c: fixed a weird error where validity context whould not
show up if warnings were disabled pointed out by Bob Stayton
* xmlIO.c doc/generator.py: cleanup and fix to regenerate the docs
* doc//* testapi.c: rebuilt the docs
Daniel
diff --git a/valid.c b/valid.c
index f6a018c..a239e68 100644
--- a/valid.c
+++ b/valid.c
@@ -5350,7 +5350,7 @@
}
#endif /* LIBXML_REGEXP_ENABLED */
if ((warn) && ((ret != 1) && (ret != -3))) {
- if ((ctxt != NULL) && (ctxt->warning != NULL)) {
+ if (ctxt != NULL) {
char expr[5000];
char list[5000];