karl368 / firepath

Automatically exported from code.google.com/p/firepath
GNU General Public License v3.0
0 stars 0 forks source link

Firepath 's xpath validations for upper case tags fails. #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Visit www.google.com
2.In firepath try searching for the string "search". Validate it in firepath 
using this //a[contains(text(),"search")]
3.Advanced search is highlighted. (This is expected)
4.Try validating //a[contains(text()," Advanced search")]

What is the expected output? What do you see instead?
You expect Advanced Search to be highlighted. But instead it shows no matching 
nodes. Suspect the validation is failing for the Upper Case Tags.

What version of the product are you using? On what operating system?
Firebug 1.6.2 and Firepath 0.9.6.1 on a Mac OS X version 10.6.6

Please provide any additional information below.
There is a workaround , try validating the xpath with single quotes instead of 
double quotes,//a[contains(text(),'Advanced search')].
There will be matches.

Original issue reported on code.google.com by shalinis...@gmail.com on 30 Mar 2011 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by pierre.t...@gmail.com on 31 Mar 2011 at 10:36

GoogleCodeExporter commented 9 years ago
Issue 26 has been merged into this issue.

Original comment by pierre.t...@gmail.com on 24 May 2011 at 4:53

GoogleCodeExporter commented 9 years ago
Thanks for the single quotes workaround, will be using it a lot. I should have 
tried that before...

Original comment by rafa.sin...@gmail.com on 24 May 2011 at 5:29

GoogleCodeExporter commented 9 years ago
Issue 28 has been merged into this issue.

Original comment by pierre.t...@gmail.com on 7 Jul 2011 at 7:14

GoogleCodeExporter commented 9 years ago
This was fixed in trunk at revision r40 and will be included in the next 
version (0.9.7).

Original comment by pierre.t...@gmail.com on 6 Aug 2011 at 3:21

GoogleCodeExporter commented 9 years ago

Original comment by pierre.t...@gmail.com on 6 Aug 2011 at 3:39

GoogleCodeExporter commented 9 years ago
Version 0.9.7 released on August 6th 2011

Original comment by pierre.t...@gmail.com on 14 Aug 2011 at 2:19