You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/12/24 10:20:20 UTC
[jira] Commented: (MCHANGES-144) The encoding of JIRA xml file is
not UTF-8
[ http://jira.codehaus.org/browse/MCHANGES-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159134#action_159134 ]
Benjamin Bentmann commented on MCHANGES-144:
--------------------------------------------
XML has an encoding declaration, so a parameter on the plugin shouldn't be necessary. Can you attach the XML file downloaded by the plugin, i.e. {{${project.build.directory}/jira-results.xml}}. It's written using platform encoding and I suspect that's where it gets messed up.
> The encoding of JIRA xml file is not UTF-8
> ------------------------------------------
>
> Key: MCHANGES-144
> URL: http://jira.codehaus.org/browse/MCHANGES-144
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: jira-report
> Affects Versions: 2.1
> Environment: JIRA Enterprise Edition V3.10.1, JDK 1.5.0_15, Maven 2.0.9
> Reporter: Sonix William Legend
>
> If the JIRA encoding is not UTF-8, the program generated the jira report throws a exception.
> "org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence."
> So I think you should add a parameter that set the encoding.
--
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