fixed xmlParserInputBufferCreateMem doc Daniel
* xmlIO.c: fixed xmlParserInputBufferCreateMem doc
Daniel
diff --git a/ChangeLog b/ChangeLog
index 78db69a..96ff252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 3 21:51:13 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * xmlIO.c: fixed xmlParserInputBufferCreateMem doc
+
Wed Jan 3 18:56:00 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* HTMLparser.c: htmlCheckParagraph to check htmlOmittedDefaultValue,
diff --git a/tree.c b/tree.c
index b0799be..5597b4e 100644
--- a/tree.c
+++ b/tree.c
@@ -4817,7 +4817,7 @@
}
xmlBufferWriteCHAR(buf, cur->name);
value = xmlNodeListGetString(doc, cur->children, 0);
- if (value) {
+ if (value != NULL) {
xmlBufferWriteChar(buf, "=");
xmlBufferWriteQuotedString(buf, value);
xmlFree(value);
diff --git a/xmlIO.c b/xmlIO.c
index 3a8fcf2..e2fff08 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -1095,7 +1095,7 @@
* @enc: the charset encoding if known
*
* Create a buffered parser input for the progressive parsing for the input
- * from a file descriptor
+ * from a memory area.
*
* Returns the new parser input or NULL
*/