1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-05 19:01:18 +03:00

- parser.c: improved the description of a couple of interfaces

upon Larry Stamper suggestion
Daniel
This commit is contained in:
Daniel Veillard
2001-07-04 22:06:23 +00:00
parent 62f313ba0c
commit 4d65a1c55b
3 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,8 @@
Thu Jul 5 00:04:58 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* parser.c: improved the description of a couple of interfaces
upon Larry Stamper suggestion
Wed Jul 4 21:42:24 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Wed Jul 4 21:42:24 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* SAX.c entities.c parser.c: changed completely the way entities * SAX.c entities.c parser.c: changed completely the way entities

View File

@ -4737,11 +4737,12 @@ htmlCreatePushParserCtxt(htmlSAXHandlerPtr sax, void *user_data,
* @sax: the SAX handler block * @sax: the SAX handler block
* @userData: if using SAX, this pointer will be provided on callbacks. * @userData: if using SAX, this pointer will be provided on callbacks.
* *
* parse an HTML in-memory document and build a tree. * Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks
* It use the given SAX function block to handle the parsing callback. * to handle parse events. If sax is NULL, fallback to the default DOM
* If sax is NULL, fallback to the default DOM tree building routines. * behavior and return a tree.
* *
* Returns the resulting document tree * Returns the resulting document tree unless SAX is NULL or the document is
* not well formed.
*/ */
htmlDocPtr htmlDocPtr
@ -4862,7 +4863,8 @@ htmlCreateFileParserCtxt(const char *filename, const char *encoding)
* It use the given SAX function block to handle the parsing callback. * It use the given SAX function block to handle the parsing callback.
* If sax is NULL, fallback to the default DOM tree building routines. * If sax is NULL, fallback to the default DOM tree building routines.
* *
* Returns the resulting document tree * Returns the resulting document tree unless SAX is NULL or the document is
* not well formed.
*/ */
htmlDocPtr htmlDocPtr

View File

@ -74,8 +74,7 @@
#define xmlRegisterDefaultOutputCallbacks xmlRegisterDefOutputCallbacks #define xmlRegisterDefaultOutputCallbacks xmlRegisterDefOutputCallbacks
#endif #endif
/* #define VERBOSE_FAILURE */ #define DEBUG_EXTERNAL_ENTITIES
/* #define DEBUG_EXTERNAL_ENTITIES */
/* #define DEBUG_INPUT */ /* #define DEBUG_INPUT */
#ifdef DEBUG_INPUT #ifdef DEBUG_INPUT
@ -1594,7 +1593,7 @@ xmlDefaultExternalEntityLoader(const char *URL, const char *ID,
#ifdef DEBUG_EXTERNAL_ENTITIES #ifdef DEBUG_EXTERNAL_ENTITIES
xmlGenericError(xmlGenericErrorContext, xmlGenericError(xmlGenericErrorContext,
"xmlDefaultExternalEntityLoader(%s, xxx)\n", URL); "xmlDefaultExternalEntityLoader(%s, %s)\n", URL, ID);
#endif #endif
#ifdef LIBXML_CATALOG_ENABLED #ifdef LIBXML_CATALOG_ENABLED
/* /*