List Info

Thread: 2.6.26 xpath returns too many nodes?




2.6.26 xpath returns too many nodes?
user name
2006-06-26 14:37:33
Hi,

Don't bother to provide a test case. Just try with xpath.c,
revision 1.318.

>From the ChangeLog:
xpath.c: Fixed an bug in xmlXPathCompExprAdd(): the newly
introduced field rewriteType on xmlXPathStepOp was not
initialized to zero here; this could lead to the activation
of the axis rewrite code in xmlXPathNodeCollectAndTest()
when
rewriteType is randomly set to the value 1. A test
(hardcoding the intial value to 1) revealed that the
resulting incorrect behaviour is similar to the behaviour
as described by Arnold Hendriks on the mailing list; so I
hope that will fix the issue.

Regards,

Kasimier


> -----Original Message-----
> From: xml-bouncesgnome.org [mailtoml-bo
uncesgnome.org] On 
> Behalf Of Buchcik, Kasimier

> Hi, 

[...]
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
2.6.26 xpath returns too many nodes?
user name
2006-06-26 21:22:14
Buchcik, Kasimier wrote:
> Hi,
>
> Don't bother to provide a test case. Just try with
xpath.c,
> revision 1.318.
>   
I used revision 1.319 with the libxml .26 version, and I
cannot 
reproduce the problem anymore, so as far as I can see it is
fixed now.

Thank you!

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )