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