applied patch from Aleksey Sanin fixing a problem in the canonicalization

* c14n.c: applied patch from Aleksey Sanin fixing a problem in the
  canonicalization algorithm
* doc/xml.html doc/index.html: added the C14N references on the
  index page.
Daniel
diff --git a/doc/index.html b/doc/index.html
index 5547e7e..4f12024 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -116,6 +116,11 @@
 <li>part of SGML Open Technical Resolution TR9401:1997</li>
 <li>XML Catalogs Working Draft 06 August 2001: <a href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html">http://www.oasis-open.org/committees/entity/spec-2001-08-06.html</a>
 </li>
+<li>Canonical XML Version 1.0: <a href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n</a>
+    and the 
+    <p>Exclusive XML Canonicalization CR draft <a href="http://www.w3.org/TR/xml-exc-c14n">http://www.w3.org/TR/xml-exc-c14n</a>
+</p>
+</li>
 </ul>
 <p>In most cases libxml tries to implement the specifications in a relatively
 strict way. As of release 2.4.16, libxml2 passes all 1800+ tests from the <a href="http://www.oasis-open.org/committees/xml-conformance/">OASIS XML Tests
diff --git a/doc/xml.html b/doc/xml.html
index 7fd713d..7e04f03 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -50,6 +50,12 @@
   <li>part of SGML Open Technical Resolution TR9401:1997</li>
   <li>XML Catalogs Working Draft 06 August 2001: <a
     href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html">http://www.oasis-open.org/committees/entity/spec-2001-08-06.html</a></li>
+  <li>Canonical XML Version 1.0: <a
+    href="http://www.w3.org/TR/xml-c14n">http://www.w3.org/TR/xml-c14n</a>
+    and the 
+    <p>Exclusive XML Canonicalization CR draft <a
+    href="http://www.w3.org/TR/xml-exc-c14n">http://www.w3.org/TR/xml-exc-c14n</a></p>
+  </li>
 </ul>
 
 <p>In most cases libxml tries to implement the specifications in a relatively
@@ -2545,6 +2551,7 @@
 
 
 
+
 } </pre>
   </li>
   <li>And then use it to save the document:
diff --git a/doc/xmlio.html b/doc/xmlio.html
index e462338..afa9213 100644
--- a/doc/xmlio.html
+++ b/doc/xmlio.html
@@ -247,6 +247,7 @@
 
 
 
+
 } </pre>
 </li>
 <li>And then use it to save the document: