Bug 60763

Summary: XMLAssertion should not leak errors to console
Product: JMeter Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Sebb 2017-02-21 23:49:16 UTC
The XMLAssertion class can write errors to the console. This can be seen by running the test XmlAssertionTest which generates the output:

 [Fatal Error] :1:1: Content is not allowed in prolog.
 [Fatal Error] :1:112: The end-tag for element type "note" must end with a '>' delimiter.

This should be suppressed by defining an ErrorHandler.
Comment 1 Philippe Mouawad 2017-02-25 14:51:51 UTC
Author: pmouawad
Date: Sat Feb 25 14:51:29 2017
New Revision: 1784384

URL: http://svn.apache.org/viewvc?rev=1784384&view=rev
Log:
Bug 60763 - XMLAssertion should not leak errors to console
Bugzilla Id: 60763

Added:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/LogErrorHandler.java   (with props)
Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/XMLAssertion.java
    jmeter/trunk/xdocs/changes.xml