From 2d347fac9815f5c4a1c9073b4e04c892a5245c8a Mon Sep 17 00:00:00 2001
From: Daniel Veillard
Date: Sun, 17 Mar 2002 10:34:11 +0000
Subject: [PATCH] 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
---
ChangeLog | 6 ++++++
c14n.c | 21 ++++++++-----------
doc/DOM.html | 3 ++-
doc/FAQ.html | 10 +++++----
doc/XMLinfo.html | 3 ++-
doc/XSLT.html | 3 ++-
doc/architecture.html | 3 ++-
doc/bugs.html | 3 ++-
doc/catalog.html | 3 ++-
doc/contribs.html | 13 ++++++++----
doc/docs.html | 3 ++-
doc/downloads.html | 3 ++-
doc/encoding.html | 3 ++-
doc/entities.html | 3 ++-
doc/example.html | 3 ++-
doc/help.html | 3 ++-
doc/index.html | 22 +++++++++++---------
doc/interface.html | 3 ++-
doc/intro.html | 11 +++++-----
doc/library.html | 3 ++-
doc/namespaces.html | 3 ++-
doc/news.html | 3 ++-
doc/python.html | 3 ++-
doc/site.xsl | 3 ++-
doc/threads.html | 3 ++-
doc/tree.html | 3 ++-
doc/upgrade.html | 3 ++-
doc/xml.html | 47 ++++++++++++++++++++++++++-----------------
doc/xmldtd.html | 3 ++-
doc/xmlio.html | 5 ++++-
doc/xmlmem.html | 3 ++-
31 files changed, 126 insertions(+), 78 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a4c7d0bc..0cabfe6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Mar 17 11:31:55 CET 2002 Daniel Veillard
+
+ * 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
+
Sat Mar 16 23:01:42 CET 2002 Daniel Veillard
* xpath.c: small fix to avoid potential problem due to
diff --git a/c14n.c b/c14n.c
index 0a58a61e..25d9b9cf 100644
--- a/c14n.c
+++ b/c14n.c
@@ -437,20 +437,15 @@ xmlExcC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur)
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;
}
diff --git a/doc/DOM.html b/doc/DOM.html
index e78e9c59..62852117 100644
--- a/doc/DOM.html
+++ b/doc/DOM.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/FAQ.html b/doc/FAQ.html
index a906e391..b7472058 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
@@ -278,8 +279,7 @@ pnode=pxmlDoc->children->children;
XPath implementation looks seriously broken
XPath implementation prior to 2.3.0 was really incomplete, upgrade to
- a recent version, the implementation and debug of libxslt generated fixes
- for most obvious problems.
+ a recent version, there is no known bug in the current version.
The example provided in the web page does not compile
@@ -307,7 +307,9 @@ pnode=pxmlDoc->children->children;
Browse
the libxml source , I try to write code as clean and documented
- as possible, so looking at it may be helpful
+ as possible, so looking at it may be helpful. Especially the code of
+ xmllint.c and of the various testXXX.c tests programs should provide
+ good example on how to do things with the library.
What about C++ ?
diff --git a/doc/XMLinfo.html b/doc/XMLinfo.html
index 140753c4..bb9f9dfa 100644
--- a/doc/XMLinfo.html
+++ b/doc/XMLinfo.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/XSLT.html b/doc/XSLT.html
index 6dfd2bda..4a139c64 100644
--- a/doc/XSLT.html
+++ b/doc/XSLT.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/architecture.html b/doc/architecture.html
index c057f30f..e3455513 100644
--- a/doc/architecture.html
+++ b/doc/architecture.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/bugs.html b/doc/bugs.html
index e1a105dd..74691ea1 100644
--- a/doc/bugs.html
+++ b/doc/bugs.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/catalog.html b/doc/catalog.html
index 87d4f31c..ff8fbe49 100644
--- a/doc/catalog.html
+++ b/doc/catalog.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/contribs.html b/doc/contribs.html
index 19f98a7c..9ae21756 100644
--- a/doc/contribs.html
+++ b/doc/contribs.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
@@ -119,12 +120,16 @@ A:link, A:visited, A:active { text-decoration: underline }
in OpenNSD/AOLServer
-Dave Kuhlman provides
- libxml/libxslt wrappers for
- Python
+Dave Kuhlman provided the
+ first version of libxml/libxslt wrappers for Python
Petr Kozelka provides Pascal units to glue
libxml2 with Kylix and Delphi and other Pascal compilers
+
+Aleksey Sanin implemented the
+ XML Canonicalization and XML
+ Digital Signatureimplementations for libxml2
+
Daniel Veillard
diff --git a/doc/docs.html b/doc/docs.html
index abc8577d..98c20eab 100644
--- a/doc/docs.html
+++ b/doc/docs.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/downloads.html b/doc/downloads.html
index 749bf4d2..475d5d09 100644
--- a/doc/downloads.html
+++ b/doc/downloads.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/encoding.html b/doc/encoding.html
index 2e2aa23d..00670c6a 100644
--- a/doc/encoding.html
+++ b/doc/encoding.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/entities.html b/doc/entities.html
index 337995c1..3c9fe0f1 100644
--- a/doc/entities.html
+++ b/doc/entities.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/example.html b/doc/example.html
index df8e9ed5..480c3721 100644
--- a/doc/example.html
+++ b/doc/example.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/help.html b/doc/help.html
index e78f39ce..6da865f1 100644
--- a/doc/help.html
+++ b/doc/help.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/index.html b/doc/index.html
index 4f12024e..ee34457b 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
@@ -117,9 +118,7 @@ languages:
XML Catalogs Working Draft 06 August 2001: http://www.oasis-open.org/committees/entity/spec-2001-08-06.html
Canonical XML Version 1.0: http://www.w3.org/TR/xml-c14n
- and the
- Exclusive XML Canonicalization CR draft http://www.w3.org/TR/xml-exc-c14n
-
+ and the Exclusive XML Canonicalization CR draft http://www.w3.org/TR/xml-exc-c14n
In most cases libxml tries to implement the specifications in a relatively
@@ -142,17 +141,22 @@ specification but don't claim to implement them:
DocBook SGML v4: libxml2 includes a hackish parser to transition to
XML
-Libxml2 is known to be very portable, should build and work without
-serious troubles on a variety of systems (Linux, Unix, Windows, CygWin,
-MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)
+Libxml2 is known to be very portable, the library should build and work
+without serious troubles on a variety of systems (Linux, Unix, Windows,
+CygWin, MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)
Separate documents:
-
the libxslt page providing an
- implementation of XSLT 1.0 and extensions on top of libxml2
+ implementation of XSLT 1.0 and common extensions like EXSLT for
+ libxml2
-
the gdome2 page
- : a standard DOM2 implementation based on libxml2
+ : a standard DOM2 implementation for libxml2
+-
+the XMLSec page: an
+ implementation of W3C XML
+ Digital Signature for libxml2
Daniel Veillard
diff --git a/doc/interface.html b/doc/interface.html
index 9038022b..82cdca9c 100644
--- a/doc/interface.html
+++ b/doc/interface.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/intro.html b/doc/intro.html
index 953c8ac4..cbd4ebfe 100644
--- a/doc/intro.html
+++ b/doc/intro.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
@@ -87,11 +88,11 @@ A:link, A:visited, A:active { text-decoration: underline }
structured documents/data.
Here are some key points about libxml:
-- Libxml exports Push and Pull type parser interfaces for both XML and
- HTML.
+- Libxml exports Push (progressive) and Pull (blocking) type parser
+ interfaces for both XML and HTML.
- Libxml can do DTD validation at parse time, using a parsed document
instance, or with an arbitrary DTD.
-- Libxml now includes nearly complete XPath, XPointer and XInclude implementations.
+- Libxml includes complete XPath, XPointer and XInclude implementations.
- It is written in plain C, making as few assumptions as possible, and
sticking closely to ANSI C/POSIX for easy embedding. Works on
Linux/Unix/Windows, ported to a number of other platforms.
@@ -106,7 +107,7 @@ structured documents/data.
wording.
Warning: unless you are forced to because your application links with a
-Gnome library requiring it, Do Not Use libxml1, use
+Gnome-1.X library requiring it, Do Not Use libxml1, use
libxml2
Daniel Veillard
diff --git a/doc/library.html b/doc/library.html
index 0daa044c..d20de8c8 100644
--- a/doc/library.html
+++ b/doc/library.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/namespaces.html b/doc/namespaces.html
index 98198e34..79d01fb9 100644
--- a/doc/namespaces.html
+++ b/doc/namespaces.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/news.html b/doc/news.html
index 6127b81c..d4d925ac 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/python.html b/doc/python.html
index f440b2db..fd897dfd 100644
--- a/doc/python.html
+++ b/doc/python.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/site.xsl b/doc/site.xsl
index 2591cf51..87836a7d 100644
--- a/doc/site.xsl
+++ b/doc/site.xsl
@@ -145,10 +145,11 @@
Mail archive
XSLT libxslt
DOM gdome2
+ XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
- Bug Tracker
+ Bug Tracker
diff --git a/doc/threads.html b/doc/threads.html
index b7fd83d7..bbac0bf0 100644
--- a/doc/threads.html
+++ b/doc/threads.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/tree.html b/doc/tree.html
index 09ff6d13..2e48d0cf 100644
--- a/doc/tree.html
+++ b/doc/tree.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/upgrade.html b/doc/upgrade.html
index b7e48ab4..b2e54088 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/xml.html b/doc/xml.html
index 7e04f03d..079ee311 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -52,10 +52,8 @@ languages:
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
Canonical XML Version 1.0: http://www.w3.org/TR/xml-c14n
- and the
- Exclusive XML Canonicalization CR draft http://www.w3.org/TR/xml-exc-c14n
-
+ and the Exclusive XML Canonicalization CR draft http://www.w3.org/TR/xml-exc-c14n
In most cases libxml tries to implement the specifications in a relatively
@@ -80,16 +78,20 @@ specification but don't claim to implement them:
XML
-Libxml2 is known to be very portable, should build and work without
-serious troubles on a variety of systems (Linux, Unix, Windows, CygWin,
-MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)
+Libxml2 is known to be very portable, the library should build and work
+without serious troubles on a variety of systems (Linux, Unix, Windows,
+CygWin, MacOs, MacOsX, RISC Os, OS/2, VMS, QNX, MVS, ...)
Separate documents:
@@ -102,11 +104,11 @@ structured documents/data.
Here are some key points about libxml:
- - Libxml exports Push and Pull type parser interfaces for both XML and
- HTML.
+ - Libxml exports Push (progressive) and Pull (blocking) type parser
+ interfaces for both XML and HTML.
- Libxml can do DTD validation at parse time, using a parsed document
instance, or with an arbitrary DTD.
- - Libxml now includes nearly complete Libxml includes complete XPath, XPointer and XInclude implementations.
@@ -128,7 +130,7 @@ structured documents/data.
Warning: unless you are forced to because your application links with a
-Gnome library requiring it, Do Not Use libxml1, use
libxml2
@@ -329,8 +331,7 @@ pnode=pxmlDoc->children->children;
XPath implementation looks seriously broken
XPath implementation prior to 2.3.0 was really incomplete, upgrade to
- a recent version, the implementation and debug of libxslt generated fixes
- for most obvious problems.
+ a recent version, there is no known bug in the current version.
The example provided in the web page does not compile
It's hard to maintain the documentation in sync with the code
@@ -356,7 +357,9 @@ pnode=pxmlDoc->children->children;
Browse
the libxml source , I try to write code as clean and documented
- as possible, so looking at it may be helpful
+ as possible, so looking at it may be helpful. Especially the code of
+ xmllint.c and of the various testXXX.c tests programs should provide
+ good example on how to do things with the library.
What about C++ ?
@@ -2549,6 +2552,8 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) {
+
+
@@ -3704,12 +3709,16 @@ Gnome CVS base under gnome-xml/example
there is a module for libxml/libxslt support
in OpenNSD/AOLServer
- Dave Kuhlman provides
- libxml/libxslt wrappers for
- Python
+ Dave Kuhlman provided the
+ first version of libxml/libxslt wrappers for Python
Petr Kozelka provides Pascal units to glue
libxml2 with Kylix and Delphi and other Pascal compilers
+ Aleksey Sanin implemented the
+ XML Canonicalization and XML
+ Digital Signature implementations for libxml2
diff --git a/doc/xmldtd.html b/doc/xmldtd.html
index 70a9ca0d..81793429 100644
--- a/doc/xmldtd.html
+++ b/doc/xmldtd.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
diff --git a/doc/xmlio.html b/doc/xmlio.html
index afa92132..bda73441 100644
--- a/doc/xmlio.html
+++ b/doc/xmlio.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker
@@ -245,6 +246,8 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) {
+
+
diff --git a/doc/xmlmem.html b/doc/xmlmem.html
index 2542df19..36e0f6a8 100644
--- a/doc/xmlmem.html
+++ b/doc/xmlmem.html
@@ -75,10 +75,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Mail archive
XSLT libxslt
DOM gdome2
+XML-DSig xmlsec
FTP
Windows binaries
Solaris binaries
-Bug Tracker
+Bug Tracker