Re: [xml] suppress stderr messages



On Tue, Oct 19, 2004 at 08:38:34AM +0200, Ties Molenhuis wrote:
Hi,

The flag XML_PARSE_NOWARNING / XML_PARSE_NOERROR does not suppress all
messages to stderr, e.g. if the namespace declaration is not an absolute
path, i.e. not starting with http:// Is there a way to suppress all
messages? I'm using libxml 2.6.8.

  The library may emit messages from part of the code where the parsing
context is not available. Set your own handler:
   http://xmlsoft.org/html/libxml-xmlerror.html#xmlSetStructuredErrorFunc

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]