maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r594598 - /maven/surefire/branches/surefire-2.3.x/surefire-api/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
Date Tue, 13 Nov 2007 18:04:47 GMT
Author: brett
Date: Tue Nov 13 10:04:46 2007
New Revision: 594598

URL: http://svn.apache.org/viewvc?rev=594598&view=rev
Log:
[SUREFIRE-343] html escaping problems in xml reports
Submitted by: Marat Radchenko 
Merged from trunk revision: 594597

Modified:
    maven/surefire/branches/surefire-2.3.x/surefire-api/src/main/java/org/apache/maven/surefire/report/XMLReporter.java

Modified: maven/surefire/branches/surefire-2.3.x/surefire-api/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
URL: http://svn.apache.org/viewvc/maven/surefire/branches/surefire-2.3.x/surefire-api/src/main/java/org/apache/maven/surefire/report/XMLReporter.java?rev=594598&r1=594597&r2=594598&view=diff
==============================================================================
--- maven/surefire/branches/surefire-2.3.x/surefire-api/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
(original)
+++ maven/surefire/branches/surefire-2.3.x/surefire-api/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
Tue Nov 13 10:04:46 2007
@@ -208,7 +208,7 @@
             }
         }
 
-        element.setValue( stackTrace );
+        element.setValue( escapeAttribute(stackTrace) );
 
         addOutputStreamElement( stdOut, "system-out", testCase );
 



Mime
View raw message