mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing).
This commit is contained in:
parent
49ac2e74f2
commit
db2c5275a1
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ _start_element_handler_ns(void *user, const xmlChar *name, const xmlChar *prefix
|
||||||
for (i = 0; i < nb_attributes; i += 1) {
|
for (i = 0; i < nb_attributes; i += 1) {
|
||||||
|
|
||||||
if (attributes[y+1] != NULL) {
|
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 {
|
} else {
|
||||||
qualified_name_attr = xmlStrdup(attributes[y]);
|
qualified_name_attr = xmlStrdup(attributes[y]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue