mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
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
This commit is contained in:
@ -5413,8 +5413,9 @@ xmlSchemaValidateType(xmlSchemaValidCtxtPtr ctxt, xmlNodePtr elem,
|
||||
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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user