Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Enabling OPTION_USE_XMI_TYPE fails(The xmi:type attribute does not appear in the generated xmi file)
Enabling OPTION_USE_XMI_TYPE fails [message #956130] Wed, 24 October 2012 09:05 Go to next message
Tri Kurniawan is currently offline Tri Kurniawan
Messages: 10
Registered: October 2010
Junior Member
Hi,

I'm currently creating a simple .bpmn file describing a bpmn diagram with a single blank pool through a java code. But, the generated file does not contain xmi:type attribute. I have enabled the XMIResource.OPTION_USE_XMI_TYPE. Does anyone know the way how to get xmi:type appeared in the generated xmi file?

Thanks.
Tri
Re: Enabling OPTION_USE_XMI_TYPE fails [message #956136 is a reply to message #956130] Wed, 24 October 2012 09:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26126
Registered: July 2009
Senior Member
Tri,

That option just controls whether xmi:type rather than xsi:type is
emitted. It does not affect whether those are emitted at all. You can
use OPTION_SAVE_TYPE_INFORMATION to force it to appear in places isn't
not actually needed.


On 24/10/2012 11:05 AM, Tri Kurniawan wrote:
> Hi,
>
> I'm currently creating a simple .bpmn file describing a bpmn diagram
> with a single blank pool through a java code. But, the generated file
> does not contain xmi:type attribute. I have enabled the
> XMIResource.OPTION_USE_XMI_TYPE. Does anyone know the way how to get
> xmi:type appeared in the generated xmi file?
>
> Thanks.
> Tri
Re: Enabling OPTION_USE_XMI_TYPE fails [message #956158 is a reply to message #956136] Wed, 24 October 2012 09:33 Go to previous message
Tri Kurniawan is currently offline Tri Kurniawan
Messages: 10
Registered: October 2010
Junior Member
Hi Ed,
Excellent..! It works. Thanks for your help.
Previous Topic:[Xcore] Ecore Diagram problem
Next Topic:Concurrency in CDO
Goto Forum:
  


Current Time: Tue Oct 21 02:20:25 GMT 2014

Powered by FUDForum. Page generated in 0.04540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software