Stephan Vollmer (JIRA)
Thu, 19 Nov 2009 01:42:33 -0800
Generated HTML page contains "charset=${outputEncoding}"
--------------------------------------------------------
Key: MCHECKSTYLE-126
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-126
Project: Maven 2.x Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.4
Environment: Maven 2.2.1
JDK 1.6.0_17
Windows XP Professional SP2 (German version)
Reporter: Stephan Vollmer
Priority: Minor
Attachments: checkstyle.html
Hi,
when I generate a Checkstyle report with the command {{mvn
checkstyle:checkstyle}}, the resulting HTML file
{{target/site/checkstyle.html}} contains the literal string
{{charset=$\{outputEncoding\}}}. Instead, the variable should be substituted
with the actual encoding, i. e. UTF-8. I attached the resulting HTML file to
this issue.
When the Checkstyle plugin is invoked during site generation (with {{mvn
site}}) the encoding is set correctly.
This issue is visible when the checkstyle report is created in german and the
german special characters aren't rendered correctly.
Here is the relevant HTML fragment:
{code:xml}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=${outputEncoding}" />
<title>Checkstyle Ergebnisse</title>
{code}
Thanks!
Stephan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira