https://issues.apache.org/bugzilla/show_bug.cgi?id=51980
Bug #: 51980
Summary: HtmlParserHTMLParser double-counts images used in
links
Product: JMeter
Version: 2.5.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
When HTMLParser is used to parse embedded resources of the form
<a href="http://jakarta.apache.org/"><img src="./images/jakarta-logo.gif"></a>
it adds the image to the list of URLs twice.
This is because the <img> is parsed as part of the <a> (Link) tag as well as
being parsed as a part of the nested parsing of composite tags, such as the
link tag.
The fix is to ignore the nested image when processing link tags.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]