[GJC-7] moveToTagWith called twice will find the first one again | |
| Status: | Closed |
| Project: | Genjava |
| Component/s: | gj-scrape |
| Affects Version/s: | scrape-1.0 |
| Fix Version/s: | scrape-2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Henri Yandell | Assignee: | 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. |