Re: [xml] Problem with XPath Expression?



At Sun, 22 Apr 2001 04:39:41 -0400,
Daniel Veillard wrote:

  Well the patch provided is not really the right way to catch this.

[...]
  is a far better way IMHO.

orchis:~/XML -> testXPath --expr "false() ABRACADABRA true()"
Error xpath.c:7597: Invalid expression
false() ABRACADABRA true()
        ^
Object is empty (NULL)
orchis:~/XML ->

  I fixed xmlXPathCompile to detect it.

I confirmed that behavior.
Thanks!

--
Yuuichi Teranishi <teranisi gohome org>
PGP 5.0i Public Key: http://www.gohome.org/pgp5/teranisi.key
"I just want to live while I'm alive..."




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]