[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xmlSchemaSetParserErrors and xmlSchemaSetValidErrors
- From: Daniel Veillard <veillard redhat com>
- To: "Yong Chen (yongche)" <chen cisco com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlSchemaSetParserErrors and xmlSchemaSetValidErrors
- Date: Fri, 27 Oct 2006 03:57:36 -0400
On Thu, Oct 26, 2006 at 06:53:53PM -0700, Yong Chen (yongche) wrote:
>
> Hi,
>
> Both of the functions take parserCtxt, errFunc, warningFunc and ctxt as
> parameters. Normally people use them as following:
>
> xmlSchemaSetParserErrors(parserCtxt, fprintf, fprintf, stderr);
>
> Basically it means to print out err and warning msgs to stderr. I wonder
> if there's a way I can just redirect the error/warning output to
> "/dev/null"? Or to a file? Or even not do printing at all?
Simply register functions which does nothing instead of fprintf !
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]