Hi, On Thu, 2006-01-05 at 23:38 +0100, [EMAIL PROTECTED] wrote: > Hi, > > > <[EMAIL PROTECTED]> > > Datum: Thu, 5 Jan 2006 14:24:21 -0500 > > > > Hi all, > > > > Following a suggestion from Daniel, I`m posting my question to the > > xmllist. > > Our application want to print parsing errors detected through RelaxNG into > > syslog. > > But the line number and file name are not given to the error callback. > > Any idea how to make that information showed ? Here`s the code that we are > > [...] > > We are missing a function to register a structured error handler during > parsing. > > For the validation we > have: > > http://www.xmlsoft.org/html/libxml-relaxng.html#xmlRelaxNGSetValidStructuredErrors > > I'll add the missing function tomorrow, but this means that you > would need to use Libxml2 built from latest CVS sources to do > what you want.
You could as well try with: http://www.xmlsoft.org/html/libxml-xmlerror.html#xmlSetStructuredErrorFunc Regards, Kasimier _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
