mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
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:
@ -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>
|
Sat Jul 6 19:44:56 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* valid.c: fixing bug #79331 in one path the lookup for
|
* valid.c: fixing bug #79331 in one path the lookup for
|
||||||
|
6
parser.c
6
parser.c
@ -8939,13 +8939,17 @@ xmlStopParser(xmlParserCtxtPtr ctxt) {
|
|||||||
* @size: number of chars in the array
|
* @size: number of chars in the array
|
||||||
* @filename: an optional file name or URI
|
* @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
|
* To allow content encoding detection, @size should be >= 4
|
||||||
* The value of @filename is used for fetching external entities
|
* The value of @filename is used for fetching external entities
|
||||||
* and error/warning reports.
|
* and error/warning reports.
|
||||||
*
|
*
|
||||||
* Returns the new parser context or NULL
|
* Returns the new parser context or NULL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
xmlParserCtxtPtr
|
xmlParserCtxtPtr
|
||||||
xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, void *user_data,
|
xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, void *user_data,
|
||||||
const char *chunk, int size, const char *filename) {
|
const char *chunk, int size, const char *filename) {
|
||||||
|
Reference in New Issue
Block a user