diff --git a/ChangeLog b/ChangeLog index 1c587012..2f9d629a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 23 15:14:37 HKT 2003 William Brack + + * 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 * tree.c: inhibited production of "(null):" in xmlGetNodePath diff --git a/valid.c b/valid.c index 3c518d64..5763354e 100644 --- a/valid.c +++ b/valid.c @@ -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; }