Re: [xml] xmlXPathEval()

On Thu, Aug 29, 2002 at 04:11:54PM +0200, Daniel Gehriger wrote:
Q: if no node is selected by the xpath given to xmlXPathEval(), does it
return NULL or an xmlXPathObjectPtr with an empty node set ?

  NULL should only be returned in case of errors,
that means there was no object left on the interpreter stack at 
the end of the evaluation, i.e. really an error.


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