1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-07 06:43:02 +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

@@ -1,3 +1,8 @@
Tue Jun 12 08:46:28 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* valid.c: fixed bug #56049, forgot one check in the
validation routine
Tue Jun 12 08:09:46 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Tue Jun 12 08:09:46 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* tree.[ch]: grrr ... namespace is a C++ reserved keyword * tree.[ch]: grrr ... namespace is a C++ reserved keyword

View File

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