[
https://jira.jboss.org/jira/browse/JBIDE-5793?page=com.atlassian.jira.plu...
]
Hitoshi Ozawa updated JBIDE-5793:
---------------------------------
Attachment: NumberGuess-UTF8.rf
FYI, I'm also attaching the file properly encoded in UTF-8. When I try to open this
file from Drools IDE, I get the following error:
UTF-8 An exception occurred while reading in the RuleFlow XML: Content is not allowed in
prolog. See the rror log for more details.
If I omit the BOM, I get the following error.
UTF-8N An exception occurred while reading in the RuleFlow XML: Element type
"process" must be followed by either attribute specification, ">"
or "/>". See the error log for more details.
Try opening the correct UTF8 file and incorrect UTF8 file from Firefox to see the encoding
problem.
I prefer the encoding to be in UTF-8, but it seems the IDE isn't properly writing out
in UTF-8 nor able to read UTF-8 encoded file with multibyte characters.
XML encoding is incorrect
-------------------------
Key: JBIDE-5793
URL:
https://jira.jboss.org/jira/browse/JBIDE-5793
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.1.0.CR1
Environment: Eclipse in Japanese OS - Windows, Fedora
Reporter: Hitoshi Ozawa
Assignee: Kris Verlaenen
Priority: Minor
Fix For: 3.1.0.CR2
Attachments: NumberGuess-UTF8.rf, NumberGuess.rf
Eclipse plugin to draw Drools Flow writes out xml files with wrong encoding.
*.rf file created by Drools Flow creates xml files with encoding="UTF-8" but
the actual encoding of the file is local encoding (Shift-JIS in Japanese OS).
If the encoding of the xml file is converted to UTF-8, the file can not be opened by
Drools Flow.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira