Re: [xml] xmlSetGenericErrorFunc -vs- xmlSetStructuredErrorFunc



On Tue, Oct 11, 2005 at 02:11:08PM -0600, Jason Aeschilman wrote:
I'm unclear on when you use xmlSetGenericErrorFunc versus
xmlSetStructuredErrorFunc.  All the errors that I have seen so far get
handled by the handler I pass into xmlSetGenericErrorFunc.  So what is
xmlSetStructuredErrorFunc used for?

  instead of getting a string with the error message you get a structure
with all the informations about the error. It can be way more useful in
integrated error reporting.

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]