Re: [xml] catalogs and xmlSetGenericError



On Fri, Jan 11, 2002 at 06:50:31PM -0800, stan boehm philips com wrote:
Is this a reasonable desire and or assumption about how 
xmlSetGenericErrorFunc() should work?


Or does this require a different function to redirect the errors from the 
catalog code ?

Or perhaps the catalog code simply writes to stdout.

  Strange, I checked. All error reporting from the catalog are 
carried by xmlGenericError(xmlGenericErrorContext, ... calls.
And at the entity loader level in xmlIO.c it uses the parser
SAX callbacks ctxt->sax->error or ctxt->sax->warning .

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]