Re: [xml] XPath errors (wrong XPath expression, etc) processing

On Tue, Sep 19, 2006 at 05:39:45PM +0400, Nikolay Samokhvalov wrote:

Is there any good way to process errors of compilation of XPath
expression? I.e. in case when xmlXPathCompile() returns NULL, is there
any way to say more than just "wrong XPath expression"?

  The XPath compiler gives back an error message and a position in the
expression. Check the structured error callback in xmlerror.h


Red Hat Virtualization group
Daniel Veillard      | virtualization library
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]