On Wed, Feb 22, 2006 at 06:18:38PM -0500, Victor Ng wrote:
> But when I try to use my own callback function I only seem to get the
> message body "Expecting element trip, got foo" without any line numbers.
>
> I'm using a callback function defined as:
>
> 27 void errorFunc (void *ctx, const char *msg, ...)
Set up a structured error hander instead:
http://xmlsoft.org/html/libxml-xmlerror.html#xmlSetStructuredErrorFunc
an xmlError strcutre has far more informations:
http://xmlsoft.org/html/libxml-xmlerror.html#xmlError
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
[EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml