small cleanup of the man page fixed a potential problem raised by Petr
* libxml.3: small cleanup of the man page
* HTMLtree.c: fixed a potential problem raised by Petr Vandrovec
when serializing HREF attributes generated by XSLT.
Daniel
diff --git a/ChangeLog b/ChangeLog
index 8b00a4e..d4d9692 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Aug 12 16:52:08 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * libxml.3: small cleanup of the man page
+ * HTMLtree.c: fixed a potential problem raised by Petr Vandrovec
+ when serializing HREF attributes generated by XSLT.
+
Mon Aug 12 15:24:05 CEST 2002 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c include/libxml/HTMLtree.h: integrated a cleaned up
diff --git a/HTMLtree.c b/HTMLtree.c
index 4e21edd..82e1dc1 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -386,8 +386,8 @@
value = xmlNodeListGetString(doc, cur->children, 0);
if (value) {
xmlBufferWriteChar(buf, "=");
- if ((xmlStrEqual(cur->name, BAD_CAST "href")) ||
- (xmlStrEqual(cur->name, BAD_CAST "src"))) {
+ if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
+ (!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
xmlChar *escaped;
xmlChar *tmp = value;
@@ -875,8 +875,8 @@
value = xmlNodeListGetString(doc, cur->children, 0);
if (value) {
xmlOutputBufferWriteString(buf, "=");
- if ((xmlStrEqual(cur->name, BAD_CAST "href")) ||
- (xmlStrEqual(cur->name, BAD_CAST "src"))) {
+ if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
+ (!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
xmlChar *escaped;
xmlChar *tmp = value;
diff --git a/libxml.3 b/libxml.3
index 18a743a..d46756f 100644
--- a/libxml.3
+++ b/libxml.3
@@ -59,7 +59,7 @@
binary application for parsing XML files
.SH AUTHORS
Daniel Veillard (daniel@veillard.com).
-If you download and install this package please send the author email.
+Red Hat Inc.
Manual page by Ziying Sherwin (sherwin@nlm.nih.gov),
Lister Hill National Center for Biomedical Communications,
U.S. National Library of Medicine.