Rebuit doc finished closing a few bugs, Daniel.
diff --git a/ChangeLog b/ChangeLog
index b1984e6..38c5a2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Mar 4 16:14:42 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
+
+ * doc/* : rebuilt the docs
+ * parser.c: final patch on #6766
+ * valid.c: small patch on validity checks.
+
Sat Mar 4 12:38:41 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* doc/upgrade.html: instruction on how to upgrade from 1.x to 2.x
diff --git a/parser.c b/parser.c
index 8107168..bd32ef4 100644
--- a/parser.c
+++ b/parser.c
@@ -8320,8 +8320,8 @@
/**
* xmlCreateMemoryParserCtxt :
- * @buffer: an pointer to a char array
- * @size: the size of the array
+ * @buffer: an pointer to a zero terminated char array
+ * @size: the size of the array (without the trailing 0)
*
* Create a parser context for an XML in-memory document.
*
@@ -8334,7 +8334,7 @@
xmlCharEncoding enc;
if (buffer[size] != '\0')
- buffer[size] = '\0';
+ return(NULL);
ctxt = xmlNewParserCtxt();
if (ctxt == NULL) {