Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Generating html report from Junit ant task

807605Sep 7 2007 — edited Sep 7 2007
Hi,

I generate html report using Junit ant task from a junit report xml.
This xml contains some Norwegian characters(�,�,�) which gives me following error


generateReport:
[junitreport] [Fatal Error] TEST-PerformanceCheck.xml:999:36: Invalid byte 1 of 1-byte UTF-8 sequence.
[junitreport] The file C:\soapUI-1.7.1\bin\report\TEST-PerformanceCheck.xml is not a valid XML document. It is possibly corrupted.
[junitreport] Processing C:\soapUI-1.7.1\bin\report\TESTS-TestSuites.xml to C:\DOCUME~1\e01600\LOCALS~1\Temp\null2052254751
[junitreport] Loading stylesheet jar:file:/C:/Ant/apache-ant-1.7.0/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 500ms
[junitreport] Deleting: C:\DOCUME~1\e01600\LOCALS~1\Temp\null2052254751

If i remove these special characters it works fine.
If any one from you knew the settings to change encoding for Junit task or if any workaround for above issue, please reply e ASAP.

Regards,
Sandeep
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2007
Added on Sep 7 2007
2 comments
539 views