1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00

fixed bug concerning validation using external dtd of element with mutiple

* valid.c: fixed bug concerning validation using external
  dtd of element with mutiple namespace declarations
  (Bug 129821)
This commit is contained in:
William M. Brack 2003-12-23 07:16:17 +00:00
parent 84d83e3464
commit ab1cedad0a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue Dec 23 15:14:37 HKT 2003 William Brack <wbrack@mmm.com.hk>
* valid.c: fixed bug concerning validation using external
dtd of element with mutiple namespace declarations
(Bug 129821)
Tue Dec 23 11:41:42 HKT 2003 William Brack <wbrack@mmm.com.hk>
* tree.c: inhibited production of "(null):" in xmlGetNodePath

View File

@ -6095,7 +6095,7 @@ xmlValidateElement(xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem) {
}
ns = elem->nsDef;
while (ns != NULL) {
ret &= xmlValidateOneNamespace(ctxt, doc, elem, ns->prefix,
ret &= xmlValidateOneNamespace(ctxt, doc, elem, elem->ns->prefix,
ns, ns->href);
ns = ns->next;
}