Bug 59037

Summary: Drop HtmlParserHTMLParser and dependencies on htmlparser and htmllexer
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on: 59036    
Bug Blocks:    

Description Philippe Mouawad 2016-02-19 20:39:27 UTC
Since 2.10, we introduced 2 HTML parsers based on JSoup and Lagarto.

They replaced HtmlParserHTMLParser which was based on :

    http://htmlparser.sourceforge.net/

This library had no update since 2006 on website although we appear to use a 2.1 (2011).

This would allow us to drop:

    htmlparser-2.1.jar
    htmllexer-2.1.jar

We would also need to update FormCharSetFinder to use Lagarto or JSoup.

Any opinion on which one we should select ?
Comment 1 Philippe Mouawad 2016-02-20 13:27:21 UTC
Author: pmouawad
Date: Sat Feb 20 13:21:01 2016 UTC
New Revision: 1731400

URL: http://svn.apache.org/viewvc?view=revision&revision=1731400
Log:
Bug 59037 - Drop HtmlParserHTMLParser and dependencies on htmlparser and htmllexer 
Bugzilla Id: 59037

jmeter/trunk/bin/jmeter.properties 	modified 
jmeter/trunk/build.properties 	modified 
jmeter/trunk/build.xml 	modified 
jmeter/trunk/eclipse.classpath 	modified 
jmeter/trunk/lib/ 	modified , props changed
jmeter/trunk/lib/aareadme.txt 	modified 
jmeter/trunk/licenses/bin/htmllexer-2.1.txt 	deleted
jmeter/trunk/licenses/bin/htmlparser-2.1.txt 	deleted
jmeter/trunk/res/maven/ApacheJMeter_parent.pom 	modified 
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java 	deleted
jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java 	modified 
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java 	modified 
jmeter/trunk/xdocs/changes.xml 	modified 
jmeter/trunk/xdocs/usermanual/component_reference.xml 	modified
Comment 2 Philippe Mouawad 2016-02-20 13:52:44 UTC
Author: pmouawad
Date: Sat Feb 20 13:50:44 2016
New Revision: 1731402

URL: http://svn.apache.org/viewvc?rev=1731402&view=rev
Log:
Bug 59037 - Drop HtmlParserHTMLParser and dependencies on htmlparser and htmllexer
Clean jars from lib directory
Bugzilla Id: 59037

Modified:
    jmeter/trunk/build.xml