1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- valid.c: fixed bug #56049, forgot one check in the

validation routine
Daniel
This commit is contained in:
Daniel Veillard
2001-06-11 12:47:59 +00:00
parent ca2366aafd
commit 8bdd220eb1
2 changed files with 7 additions and 1 deletions

View File

@ -3372,7 +3372,8 @@ cont:
ret = 0;
break;
}
ret = (xmlStrEqual(NODE->name, CONT->name));
ret = ((NODE->type == XML_ELEMENT_NODE) &&
(xmlStrEqual(NODE->name, CONT->name)));
if (ret == 1) {
DEBUG_VALID_MSG("element found, skip to next");
/*