From db2c5275a12846b9405819e90d67209ff1497cef Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Sat, 13 Nov 2004 14:32:44 +0000 Subject: Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing). --- ext/xml/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/xml/compat.c') diff --git a/ext/xml/compat.c b/ext/xml/compat.c index a5797ad37d..7bb58c4d29 100644 --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -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]); } -- cgit v1.2.1