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.
URL: http://svn.apache.org/viewvc?rev=1179657&view=rev Log: Bug 51980 - HtmlParserHTMLParser double-counts images used in links Modified: jakarta/jmeter/trunk/bin/testfiles/HTMLParserTestCase.html jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java jakarta/jmeter/trunk/xdocs/changes.xml