cvs: php-src(PHP_5_0) /ext/xml compat.c
| From: | Rob Richards | Date: | Sat, 13 Nov 2004 14:33:25 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/xml compat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29185@lists.php.net to get a copy of this message | ||
rrichards Sat Nov 13 09:33:25 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/xml compat.c
Log:
MFH: Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing).
http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.32.2.1&r2=1.32.2.2&ty=u
Index: php-src/ext/xml/compat.c
diff -u php-src/ext/xml/compat.c:1.32.2.1 php-src/ext/xml/compat.c:1.32.2.2
--- php-src/ext/xml/compat.c:1.32.2.1 Thu Aug 19 08:29:43 2004
+++ php-src/ext/xml/compat.c Sat Nov 13 09:33:25 2004
@@ -88,7 +88,7 @@
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]);
}