Re: [xml] Stdout
- From: Daniel Veillard <veillard redhat com>
- To: Rygg Christian Ingemann <christian ingemann rygg edb com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] Stdout
- Date: Fri, 25 Jan 2002 10:16:52 -0500
On Fri, Jan 25, 2002 at 04:10:52PM +0100, Rygg Christian Ingemann wrote:
Hi!
I'm new to this list, so if I ask a question that has been asked before,
that's why. But I didn't find an answer to it in the archives.
I'm using libxml in a server, and it works fine. The problem is when the
server receives bad XML. Then an error message is written to stdout, and a
server shouldn't write to stdout. How can I turn this printing off?
http://xmlsoft.org/html/libxml-xmlerror.html#XMLSETGENERICERRORFUNC
xmlSetGenericErrorFunc ()
Function to reset the handler and the error context for out of
context error messages.
Redirect it to your own handler and do whatever you want with the
error message.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.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]