ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39492] - JUnit report XSL sheet needs to escape XML in the trace
Date Wed, 01 Nov 2006 14:54:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39492>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39492





------- Additional Comments From stevel@apache.org  2006-11-01 06:54 -------
I cant find a report to hand, though I can try to regenerate one. 

The main thing is that when we generate the test reports, the stack traces need
to be CDATA escaped. XSLT will handle the rest of the problem. If were extra
paraniod, even the test name. You can generate tests with a new name, just by
passing different stuff to the ctor of the test case in a Test Suite method...

public MyTestCase extends TestCase {
 public MyTestCase(String s) { super(s);}

 public static TestSuite suite() { 
  TestSuite s=new TestSuite();
  s.add(new MyTestCase("<script>....</script>");
  return s;
 }
}





-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message