sebb 2003/11/19 18:35:24
Modified: src/components/org/apache/jmeter/visualizers
ViewResultsFullVisualizer.java
Log:
Allow for attributes in <HTML>, e.g. <html lang=en>
Revision Changes Path
1.30 +3 -3
jakarta-jmeter/src/components/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.java
Index: ViewResultsFullVisualizer.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ViewResultsFullVisualizer.java 6 Nov 2003 00:22:53 -0000 1.29
+++ ViewResultsFullVisualizer.java 20 Nov 2003 02:35:24 -0000 1.30
@@ -450,12 +450,12 @@
return;
}
- int htmlIndex = response.indexOf("<HTML>");
+ int htmlIndex = response.indexOf("<HTML"); // could be <HTML lang="">
// Look for a case variation
if (htmlIndex < 0)
{
- htmlIndex = response.indexOf("<html>");
+ htmlIndex = response.indexOf("<html"); // ditto
}
// If we still can't find it, just try using all of the text
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]