fixed bug #98338 , fatalError SAX callback is never used. Daniel
* include/libxml/parser.h: fixed bug #98338 , fatalError SAX
callback is never used.
Daniel
diff --git a/include/libxml/parser.h b/include/libxml/parser.h
index a54b6d9..a474074 100644
--- a/include/libxml/parser.h
+++ b/include/libxml/parser.h
@@ -532,6 +532,8 @@
* @...: extra parameters for the message display
*
* Display and format fatal error messages, callback.
+ * Note: so far fatalError() SAX callbacks are not used, error()
+ * get all the callbacks for errors.
*/
typedef void (*fatalErrorSAXFunc) (void *ctx,
const char *msg, ...);
@@ -587,7 +589,7 @@
commentSAXFunc comment;
warningSAXFunc warning;
errorSAXFunc error;
- fatalErrorSAXFunc fatalError;
+ fatalErrorSAXFunc fatalError; /* unused error() get all the errors */
getParameterEntitySAXFunc getParameterEntity;
cdataBlockSAXFunc cdataBlock;
externalSubsetSAXFunc externalSubset;