Re: [xml] structured error from xmlXPathCompile

On Sun, Nov 09, 2003 at 06:15:54PM +0100, Petr Pajas wrote:
Hi Daniel, All,

In 2.6.2, xmlXPathCompile(comp) doesn't provide exact position of
compilation failure neither to fprintf nor to a structured handler.
Used to work with 2.5.x:
XPath error : Invalid expression

On the other hand, I can get full info with xmlXPathEvalExpr() or
xmlXPathEval(). In 2.5.x, all these functions used to produce same
error message. Is it a bug in xmlXPathCompile?

  Hum, prossible. If the information can be carried by xmlXPathEval()
then xmlXPathCompile() ought to provide them too.

Can you make a bugzilla entry where you list all the weirdness you found
in the new API, that would help.


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]