commit | b2eabc0c441733835663f9b667ee4d8706708535 | [log] [tgz] |
---|---|---|
author | Aleksey Sanin <aleksey@src.gnome.org> | Fri Oct 28 03:15:18 2005 +0000 |
committer | Aleksey Sanin <aleksey@src.gnome.org> | Fri Oct 28 03:15:18 2005 +0000 |
tree | 0858383e365eacf16c1d00205910732686d5d6ba | |
parent | eaccdc6554d90d6a29a3674d444710a7c0933f41 [diff] [blame] |
fixed bug in exc-c14n namespace visibility + test case 319367(bug #319367)
diff --git a/c14n.c b/c14n.c index 32c7004..33a5803 100644 --- a/c14n.c +++ b/c14n.c
@@ -802,7 +802,7 @@ if(xmlStrlen(attr->ns->prefix) == 0) { has_empty_ns = 1; } - } else if(attr->ns == NULL) { + } else if((attr->ns != NULL) && (xmlStrlen(attr->ns->prefix) == 0) && (xmlStrlen(attr->ns->href) == 0)) { has_visibly_utilized_empty_ns = 1; } }