[jbosstools-issues] [JBoss JIRA] (JBDS-2047) gpd.xml is written in platform encoding
Toshiya Kobayashi (JIRA)
jira-events at lists.jboss.org
Thu Mar 1 01:56:37 EST 2012
Toshiya Kobayashi created JBDS-2047:
---------------------------------------
Summary: gpd.xml is written in platform encoding
Key: JBDS-2047
URL: https://issues.jboss.org/browse/JBDS-2047
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jBPM
Affects Versions: 4.1.1.GA
Reporter: Toshiya Kobayashi
Platform JIRA for GPD-184 and GPD-98
Here are the reproduce steps but basically the same as those GPD Jiras.
1. Window->Preference, General->Workspace, change the 'Text file encoding' to "Other: UTF-8". (Default is MS932 in Japanese Windows)
2. Create a jBPM3 project. (with a sample process)
3. Set 'スタート' the name of a start-state with GPD editor.
4. Look at .simple.gpd.xml (you may need to edit Package Explorer Filter for .* resources to find the file in JBDS)
The file is written in Shift_JIS(MS932) even though it declares encoding="UTF-8".
It will cause a problem when you use jbpm-console to see the process image.
- In jbpm-console : An exception of type "org.jbpm.util.XmlException" was thrown. The message is: failed to parse xml
- In server.log : [Fatal Error] :4:15: Invalid byte 1 of 1-byte UTF-8 sequence.
GPD editor doesn't lookup the workspace settings when it generates gpd.xml.
Hard-coded "UTF-8" may be fine (the proposed patch in GPD-184)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list