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)
diff --git a/ChangeLog b/ChangeLog
index 1c58701..2f9d629 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/valid.c b/valid.c
index 3c518d6..5763354 100644
--- a/valid.c
+++ b/valid.c
@@ -6095,7 +6095,7 @@
}
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;
}