fixing bug #84169 by fixing the comment of xmlCreatePushParserCtxt to

* parser.c: fixing bug #84169 by fixing the
  comment of xmlCreatePushParserCtxt to describe the
  encoding detection parameters better.
Daniel
This commit is contained in:
Daniel Veillard 2002-07-06 19:22:28 +00:00
parent 37f961db6e
commit 176d99f400
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Sat Jul 6 21:11:20 CEST 2002 Daniel Veillard <daniel@veillard.com>
* parser.c: fixing bug #84169 by fixing the
comment of xmlCreatePushParserCtxt to describe the
encoding detection parameters better.
Sat Jul 6 19:44:56 CEST 2002 Daniel Veillard <daniel@veillard.com>
* valid.c: fixing bug #79331 in one path the lookup for

View File

@ -8939,13 +8939,17 @@ xmlStopParser(xmlParserCtxtPtr ctxt) {
* @size: number of chars in the array
* @filename: an optional file name or URI
*
* Create a parser context for using the XML parser in push mode
* Create a parser context for using the XML parser in push mode.
* If @buffer and @size are non-NULL, the data is used to detect
* the encoding. The remaining characters will be parsed so they
* don't need to be fed in again through xmlParseChunk.
* To allow content encoding detection, @size should be >= 4
* The value of @filename is used for fetching external entities
* and error/warning reports.
*
* Returns the new parser context or NULL
*/
xmlParserCtxtPtr
xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, void *user_data,
const char *chunk, int size, const char *filename) {