the modules should not import <config.h> directly, some cleanups Peter
* nanoftp.c nanohttp.c: the modules should not import <config.h>
directly, some cleanups
* xmlschemas.c: Peter Sobisch found a nasty bug in the Schemas
validation code.
Daniel
diff --git a/xmlschemas.c b/xmlschemas.c
index fa623a8..7a2dfbe 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -5413,8 +5413,9 @@
xmlSchemaTypePtr type) {
xmlChar *nil;
- if ((elem->content == NULL) || (type == NULL) || (elemDecl == NULL))
+ if ((elem == NULL) || (type == NULL) || (elemDecl == NULL))
return(0);
+
/*
* 3.3.4 : 2
*/