Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: third_party/libxslt/libxslt/namespaces.c

Issue 1848793005: Roll libxslt to 891681e3e948f31732229f53cb6db7215f740fc7 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxslt/libxslt/libxslt.h ('k') | third_party/libxslt/libxslt/numbers.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « third_party/libxslt/libxslt/libxslt.h ('k') | third_party/libxslt/libxslt/numbers.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698