msxml3/tests: A test to show difference in XPath and XSLPattern for node position

Nikolay Sivov nsivov at codeweavers.com
Wed Jun 23 15:39:21 CDT 2010


Spotted with http://bugs.winehq.org/show_bug.cgi?id=4286.

A query like "parent/child[i]" is used there with XSLPattern mode. In 
this mode i == 0 is valid index that refers first child. On XPath mode a 
numbering starts with 1, so libxml2 fails to return a node for 0.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-A-test-to-show-difference-in-XPath-and-XSLPattern-fo.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100624/35712fb0/attachment.txt>


More information about the wine-patches mailing list