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

Re: [xml] libxml vs relaxNG question : File name and line number.



Hi,

> <jean-francois dupont-viel ericsson com>
> 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.

Regards,

Kasimier



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