Skip to main content


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 KurniawanFriend
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 MerksFriend
Messages: 33140
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


Ed Merks
Professional Support: https://www.macromodeling.com/
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 KurniawanFriend
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 Apr 23 11:52:27 GMT 2024

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

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

Back to the top