Commit 64453bc6 authored by Aleksey Sanin's avatar Aleksey Sanin
Browse files

fixed c14n bug with serializing attribute namespaces

parent 9912705b
2004-05-25 Aleksey Sanin <aleksey@aleksey.com>
* c14n.c: fixed c14n bug with serializing attribute namespaces
Mon May 24 08:22:48 HKT 2004 William Brack <wbrack@mmm.com.hk>
 
* xpath.c: fixed to allow '+' in exponent of number
......
......@@ -757,7 +757,7 @@ xmlExcC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible)
*/
if((attr->ns != NULL) && xmlC14NIsVisible(ctx, attr, cur)) {
already_rendered = xmlExcC14NVisibleNsStackFind(ctx->ns_rendered, attr->ns, ctx);
xmlC14NVisibleNsStackAdd(ctx->ns_rendered, attr->ns, (xmlNodePtr)attr);
xmlC14NVisibleNsStackAdd(ctx->ns_rendered, attr->ns, cur);
if(!already_rendered && visible) {
xmlListInsert(list, attr->ns);
}
......
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