karl368 / firepath

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

Upper-case letters do not work in text functions #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Try following html as input:
<meta name="Keywords"/>
2. Try one of the following XPath query:
//*[@name="Keywords"]
//*[contains(@name,"Keywords")]
//*[starts-with(@name,"Keywords")]
No one will work. If change capital letter to small, it will work as expected.

FirePath version 0.9.6.1
FireFox version 5.0

Original issue reported on code.google.com by kuzm...@gmail.com on 6 Jul 2011 at 11:21

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. This is a known issue and one way to workaround it 
is to use single quote instead of double quote.
For example this will work:
//*[@name='Keywords']

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