This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[GJC-7] moveToTagWith called twice will find the first one again
Created: Wed, 10 Dec 2003 13:57:33 -0800 (PST)  Updated: Fri, 18 Jun 2004 15:46:49 -0700 (PDT)

Status:Closed
Project:Genjava
Component/s:gj-scrape
Affects Version/s:scrape-1.0
Fix Version/s:scrape-2.0

Type:BugPriority: Major
Reporter:Henri YandellAssignee:Henri Yandell
Resolution:Fixed 
Environment:


 Description   
        scraper.moveToTagWith("ALT", "Today's Strip");
        scraper.moveToTagWith("ALT", "Today's Strip");

does not correctly move to the second 'ALT="Today's Strip"' but finds the first one again.
Comment by bayard [ Fri, 18 Jun 2004 15:46:49 -0700 (PDT) ]
This should now be fixed. If the answer it gets is the same position, then it attempts to bump itself on to the next tag and starts again. If it fails to find anything, it returns back to the original position and returns false.