Re: [xml] Error manipulation



On Thu, Mar 02, 2006 at 07:03:43PM -0500, Jean-Francois Dupont-Viel (QC/EMC) wrote:
Hi all.

I have an application which need to validate a configuration file upon a
relaxNG schema. 
Upon error detetction, I wwant to have file name and line number.

I really need to understand the difference between these 4 Error
manipulation functions :

xmlSetGenericErrorFunc
xmlRelaxNGSetParserErrors
xmlRelaxNGSetValidErrors
xmlRelaxNGSetValidStructuredErrors 

To I need all of them to do what I want ? 

  I would say use the last one as it's the most local and most complete API.

Daniel

-- 
Daniel Veillard      | Red Hat 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]