Commit d20a5ab0 authored by Shaun McCance's avatar Shaun McCance Committed by Shaun McCance

Fix hang with namespace-alias, fixes #700689

parent 73e08bf7
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment