A user was kind enough to point out that when generating xpath for list items the xpath was generated wrong. It started at index 0 instead of 1. This is fixed.
Before when generating xpaths for this xml
<root>
<list>
<listitem>1</listitem>
<listitem>2</listitem>
</list>
</root>
The first item would result in this xpath.
/root/list/listitem[0]/text()
But now it is like this.
/root/list//listitem[1]/text()
As it should be. =)
No comments:
Post a Comment