[xml] Problem with XPath Expression?


I think following should cause an syntax error.

% testXPath --expr "false() ABRACADABRA true()"

But it ends normally and returns a value at the error point.

=> Object is a Boolean : false

I don't know the detail of the code, 
but following patch (for latest CVS) seems to fix the problem.


Attachment: xpath.c.diff
Description: Binary data

Yuuichi Teranishi <teranisi gohome org>
PGP 5.0i Public Key: http://www.gohome.org/pgp5/teranisi.key
"Love is needing to be loved..."

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