diff --git a/globals.c b/globals.c index 6e8eedb9..d68759f2 100644 --- a/globals.c +++ b/globals.c @@ -241,17 +241,13 @@ static int xmlDefaultBufferSizeThrDef = BASE_BUFFER_SIZE; /** * oldXMLWDcompatibility: * - * Global setting, DEPRECATED. + * DEPRECATED, always 0. */ const int oldXMLWDcompatibility = 0; /* DEPRECATED */ /** * xmlParserDebugEntities: * - * DEPRECATED: Don't use - * - * Global setting, asking the parser to print out debugging information. - * while handling entities. - * Disabled by default + * DEPRECATED, always 0. */ const int xmlParserDebugEntities = 0; /** @@ -369,6 +365,8 @@ static xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValueThrDe /** * xmlGenericError: * + * DEPRECATED: Use xmlCtxtSetErrorHandler. + * * Global setting: function used for generic error callbacks */ xmlGenericErrorFunc xmlGenericError = xmlGenericErrorDefaultFunc; @@ -376,6 +374,8 @@ static xmlGenericErrorFunc xmlGenericErrorThrDef = xmlGenericErrorDefaultFunc; /** * xmlStructuredError: * + * DEPRECATED: Use xmlCtxtSetErrorHandler. + * * Global setting: function used for structured error callbacks */ xmlStructuredErrorFunc xmlStructuredError = NULL; @@ -383,6 +383,8 @@ static xmlStructuredErrorFunc xmlStructuredErrorThrDef = NULL; /** * xmlGenericErrorContext: * + * DEPRECATED: Use xmlCtxtSetErrorHandler. + * * Global setting passed to generic error callbacks */ void *xmlGenericErrorContext = NULL; @@ -390,6 +392,8 @@ static void *xmlGenericErrorContextThrDef = NULL; /** * xmlStructuredErrorContext: * + * DEPRECATED: Use xmlCtxtSetErrorHandler. + * * Global setting passed to structured error callbacks */ void *xmlStructuredErrorContext = NULL;