[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] XPath errors (wrong XPath expression, etc) processing
- From: Daniel Veillard <veillard redhat com>
- To: nikolay samokhvalov com
- Cc: xml gnome org
- Subject: Re: [xml] XPath errors (wrong XPath expression, etc) processing
- Date: Tue, 19 Sep 2006 10:14:44 -0400
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/
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]