1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-22 22:03:34 +03:00

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
This commit is contained in:
Daniel Veillard 2002-08-12 14:53:41 +00:00
parent c084e47841
commit ad11b301ab
3 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -386,8 +386,8 @@ htmlAttrDump(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur) {
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 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
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;

View File

@ -59,7 +59,7 @@ shareable library
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.