-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not write chinese words in bpmn file #1
Comments
It is working fine with Hindi word, could you share the modeler file : <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bpmn:definitions targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL" expressionLanguage="http://www.w3.org/1999/XPath" typeLanguage="http://www.w3.org/2001/XMLSchema" exporter="jBPMN NB" exporterVersion="0.3" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:java="http://jcp.org/en/jsr/detail?id=270" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:jbpmn="http://jbpmn.java.net" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bpmn:process isClosed="false" name="newBPMNProcess" id="_14603447051141">
<bpmn:scriptTask isForCompensation="false" startQuantity="1" completionQuantity="1" name="हॉलीवुड" id="_1460344716047">
<bpmn:extensionElements>
<jbpmn:ShapeDesign>{"outer":{"background":{"startColor":"RGB(255,255,255)","endColor":"RGB(226,232,236)"},"border":{"color":"RGB(108,142,183)","width":2.5}},"inner":{"background":{"startColor":"RGB(255,255,255)","endColor":"RGB(255,248,159)"},"border":{"color":"RGB(30,69,123)","width":1.0}}}</jbpmn:ShapeDesign>
</bpmn:extensionElements>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="_14603447051141" id="_14603447051152_p">
<bpmndi:BPMNShape bpmnElement="_1460344716047" id="_1460344716047_gui">
<omgdc:Bounds x="227.0" y="154.0" width="80.0" height="64.0"/>
<bpmndi:BPMNLabel>
<omgdc:Bounds x="248.0" y="226.0" width="35.0" height="17.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions> |
please see attachment file:jGau.bpmn. when you open it in modeler,following errors occurred: Exception: javax.xml.bind.UnmarshalException
the file is saved as ascii format,so the chinese words in the file is not utf8 encoding. the xml parser can not recognize those words with 'encoding="UTF-8" '. qaymuic From: Gaurav Gupta <bpmn:definitions targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL" expressionLanguage="http://www.w3.org/1999/XPath" typeLanguage="http://www.w3.org/2001/XMLSchema" exporter="jBPMN NB" exporterVersion="0.3" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:java="http://jcp.org/en/jsr/detail?id=270" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:jbpmn="http://jbpmn.java.net" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> — |
Please attach file and share your netbeans version. |
netbeans 8.1
bpmndi:BPMNDiagram |
when I design a process,it always save as ascii format with 'encoding="UTF-8"'. if I write any chinese word in the process,save and then click 'edit in modeler', parse error will be orcurred.
The text was updated successfully, but these errors were encountered: