Re: [xml] Possible bug in xmlXPathEvalPathExpr - patch included

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon Oct 02 2000 - 07:43:14 EDT


On Wed, Jul 19, 2000 at 06:36:15PM +0200, marcus@levonline.com wrote:
>
>
> Version 2.2.0.
>
> I tried to evaluate the string "string('hello')" and found that XPath
> returned the context node instead of the string 'hello'. I found that
> xmlXPathEvalPathExpr pushes nodelist on the stack after using
> xmlXPathEvalFilterExpr, which returns on the stack as well. If this
> is an error, patch is included below to fix this:

  Could you retry with 2.2.4 ? And send me a test case to add to the
reegression tests (the target document and the XPath expression),

 thanks,

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Oct 02 2000 - 09:43:56 EDT