karl368 / firepath

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

FirePath leave a space character behind the class name of a tag it just highlighted #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue reported by Morgan Owens

What steps will reproduce the problem?
1. Go to http://code.google.com/p/firepath/
2. In the XPath tab, enter “//body[@class='t1']” and highlight. (There 
should be one matching node)
3. Change the path to “//a” and hit enter. (something like 30-odd matching 
nodes)
4. Change the path back to  “//body[@class='t1']” and hit enter. (No 
matching nodes (!))
4a. View the <body> tag in the HTML inspector; note the class is now “"t1 
"”.

What is the expected output? What do you see instead?
You would expect to have one matching node when typing //body[@class='t1'] the 
second time.

Original issue reported on code.google.com by pierre.t...@gmail.com on 23 Sep 2010 at 8:48

GoogleCodeExporter commented 9 years ago
Fixed in trunk at revision r24 using Morgan's suggested fix.

Original comment by pierre.t...@gmail.com on 23 Sep 2010 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by pierre.t...@gmail.com on 20 Mar 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Released on March 22, 2011

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