I am using the MDT/BPMN2 component to graphically create business process models.
The BPMN process model is used as input for an ATL transformation. For the input metamodel, i am using the Ecore files in the plugins folder: org.eclipse.bpmn2_0.7.0.201308220617.jar
My question is there a way to switch the serialization of the process model between XMI and XML format? As far as I know, I guess there is one BPMN metamodel (ecore) used in Eclipse. Does it support both type of files?
I can understand that EMF models (a metamodel) can supports XMI and XML, but does this mean there is two interchangeable metamodels (MOF/Ecore and XSD). I am confused about the BPMN metamodel because I have read that the OMG spec defined two different metamodels files MOF and XSD (I don't know why!), and eclipse BPMN Ecore merged the two in one metamodel. So I guess its different for example from the UML metamodel which is based on MOF (but still I guess it can be mapped to XSD).
I would like to know if there is an easy way (using the BPMN Editor) to switch between the two BPMN process model (not the metamodel) export formats .
The following for example I get from right clicking on the process model and open in text editor:
Which is different from the XMI I get from some other tools.
I want to use the BPMN metamodel and the example process model as input to a model transformation. So, in another way, is it possible to handle the two input process files XMI,XML valid for the same transformation which uses the Eclipse BPMN Ecore files?
Sorry if this is not related to this forum. I have posted similar question in ATL forum but still no reply yet.