Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing).

This commit is contained in:
Rob Richards 2004-11-13 14:32:44 +00:00
parent 49ac2e74f2
commit db2c5275a1

View File

@ -88,7 +88,7 @@ _start_element_handler_ns(void *user, const xmlChar *name, const xmlChar *prefix
for (i = 0; i < nb_attributes; i += 1) {
if (attributes[y+1] != NULL) {
_qualify_namespace(parser, attributes[y] , attributes[2], &qualified_name_attr);
_qualify_namespace(parser, attributes[y] , attributes[y + 2], &qualified_name_attr);
} else {
qualified_name_attr = xmlStrdup(attributes[y]);
}