Re: [xml] Error callbacks when validating using RelaxNG

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:
an xmlError strcutre has far more informations:


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]