| Index: third_party/libxslt/libxslt/namespaces.c
|
| diff --git a/third_party/libxslt/libxslt/namespaces.c b/third_party/libxslt/libxslt/namespaces.c
|
| index b3c9972c31295257bd1474fcb2b49a3a575c1707..07a7705b368a9940e6224fe7050f330fa66fabba 100644
|
| --- a/third_party/libxslt/libxslt/namespaces.c
|
| +++ b/third_party/libxslt/libxslt/namespaces.c
|
| @@ -790,8 +790,10 @@ xsltCopyNamespaceList(xsltTransformContextPtr ctxt, xmlNodePtr node,
|
| /* TODO apply cascading */
|
| URI = (const xmlChar *) xmlHashLookup(ctxt->style->nsAliases,
|
| cur->href);
|
| - if (URI == UNDEFINED_DEFAULT_NS)
|
| + if (URI == UNDEFINED_DEFAULT_NS) {
|
| + cur = cur->next;
|
| continue;
|
| + }
|
| if (URI != NULL) {
|
| q = xmlNewNs(node, URI, cur->prefix);
|
| } else {
|
|
|