mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2024-12-02 17:26:24 +00:00
fixed c14n bug with serializing attribute namespaces
This commit is contained in:
parent
9912705b82
commit
64453bc681
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
2
c14n.c
2
c14n.c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user