On Tue, Sep 19, 2006 at 05:39:45PM +0400, Nikolay Samokhvalov wrote:
> Hello,
> 
> 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

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to