Re: [xml] Problems with error printing
- From: Daniel Veillard <veillard redhat com>
- To: Ohad Oded <Ohad Oded ealaddin com>
- Cc: Oded Cohen <Oded Cohen ealaddin com>, xml gnome org
- Subject: Re: [xml] Problems with error printing
- Date: Mon, 7 Feb 2005 08:37:21 -0500
On Mon, Feb 07, 2005 at 02:46:03PM +0200, Ohad Oded wrote:
Sorry,
Most of the fprintf are under some sort of #ifdef.
Some of them are under #ifdef LIBXML_OUTPUT_ENABLED. I didn't understand
its documentation in xmlVersion.h as having something to do with dumps
to stderr.
However here are some examples that are not under #ifdef:
xmlregexp.c(2234): fprintf(stderr, "exec save: allocation failed");
relaxng.c(7768): fprintf(stderr, "callback on %s missing
info\n",...
I tried to undef LIBXML_OUTPUT_ENABLED in xmlVersion.h but that resulted
in compilation errors.
Example:
xmlwriter.c(222) 'xmlOutputBufferCreateFilename' undefined (all its
definitions are under #ifdef LIBXML_OUTPUT_ENABLED).
There are some printf's too:
Xmlreader.c(921) printf("Expand failed !\n");
The examples of code here are by no means a total grep, merely some
examples.
what error did *you* got !
I'm all for fixing problems. But I want problems report. You said
you got stderr output, which ones ?
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]