applied a new patch from Aleksey Sanin updated the documentation to

* c14n.c: applied a new patch from Aleksey Sanin
* doc/site.xsl doc/xml.html doc/*.html: updated the documentation
  to reference Aleksey implementation of XML digital Signatures
Daniel
diff --git a/c14n.c b/c14n.c
index 0a58a61..25d9b9c 100644
--- a/c14n.c
+++ b/c14n.c
@@ -437,20 +437,15 @@
     attr = cur->properties;
     while (attr != NULL) {
         /* 
-         * todo: do we need to check that attribute is visible and has non
-         * default namespace
+         * we need to check that attribute is visible and has non
+         * default namespace (XML Namespaces: "default namespaces 
+	   * do not apply directly to attributes")	 
          */
-        if (xmlC14NIsVisible(ctx, attr)) {
-            ns = (attr->ns != NULL) ? attr->ns : xmlSearchNs(ctx->doc, cur,
-                                                             NULL);
-            if ((ns != NULL) && (xmlC14NIsVisible(ctx, attr)) &&
-                (!xmlC14NIsXmlNs(ns))) {
-                if ((xmlListSearch(list, ns) == NULL)
-                    && (!xmlExcC14NIsRendered(ctx, ns))) {
-                    xmlListInsert(list, ns);
-                    xmlXPathNodeSetAdd(ctx->ns_rendered, (xmlNodePtr) ns);
-                }
-            }
+        if ((attr->ns != NULL) && xmlC14NIsVisible(ctx, attr) && 
+        			 (xmlListSearch(list, attr->ns) == NULL) && 
+				 (!xmlExcC14NIsRendered(ctx, attr->ns))) {
+            xmlListInsert(list, attr->ns);
+            xmlXPathNodeSetAdd(ctx->ns_rendered, (xmlNodePtr) attr->ns);
         }
         attr = attr->next;
     }