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=30662>. 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=30662 junitreport xml formatter change '<' into "<" Summary: junitreport xml formatter change '<' into "<" Product: Ant Version: 1.6.2 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using junit with the xml formatter, if I do System.out.println( "<" ); in my FooBar_Test, the result is stored as "<" in FooBar_Test.txt. I know from the docs that some characters are illegal in XML: http://ant.apache.org/manual/OptionalTasks/junit.html "If you use the XML formatter, it may not include the same output that your tests have written as some characters are illegal in XML documents and will be dropped." But when I opened the generated xml file, the entire content of the system.out is stored inside CDATA. And none of the angle brackets had been escaped into < or > So I'm just wondering if there's a way to dump the system.out without escaping those illegal characters. Namely, <, >, &, etc ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]