Index: third_party/libxslt/libxslt/imports.c |
=================================================================== |
--- third_party/libxslt/libxslt/imports.c (revision 39981) |
+++ third_party/libxslt/libxslt/imports.c (working copy) |
@@ -348,6 +348,11 @@ |
if (node->ns != NULL) { |
val = (const xmlChar *) |
xmlHashLookup2(style->stripSpaces, node->name, node->ns->href); |
+ if (val == NULL) { |
+ val = (const xmlChar *) |
+ xmlHashLookup2(style->stripSpaces, BAD_CAST "*", |
+ node->ns->href); |
+ } |
} else { |
val = (const xmlChar *) |
xmlHashLookup2(style->stripSpaces, node->name, NULL); |
@@ -357,7 +362,7 @@ |
return(1); |
if (xmlStrEqual(val, (xmlChar *) "preserve")) |
return(0); |
- } |
+ } |
if (style->stripAll == 1) |
return(1); |
if (style->stripAll == -1) |