Questions tagged [xmi]

XML Metadata Interchange

XMI is an XML based format mainly used to serialize UML diagrams.

Most UML tools are able to import and export XMI files.

https://en.wikipedia.org/wiki/XMI

143 questions
2
votes
2 answers

UML Model and Diagram definition, where? – XMI has them, Standards not?

So, I’ve been looking through the UML 2.3 Infrastructure, UML 2.3 Superstructure, MOF 2.0 and XMI 2.11 standards in search of the specification and definition of Models and Diagrams. I am aware about models and diagrams and what they are (diagrams…
Kissaki
  • 8,810
  • 5
  • 40
  • 42
2
votes
0 answers

Auto-layout for UML diagrams

Is there a (preferably open-source) tool that can auto-layout UML diagrams that are given as XMI (just pure models, no graphical layer)? The result should be displayed in a GUI, or exported as SVG or similar.
tillmo
  • 607
  • 5
  • 11
2
votes
0 answers

Acceleo not resolving proxy when running standalone

I'm trying to perform a model-to-text transformation to html code using an IFML model. I have this mtl file: [comment encoding = UTF-8 /] [module main('http://www.omg.org/spec/IFML', 'http://www.omg.org/spec/IFML/core',…
aleberguer
  • 370
  • 5
  • 13
2
votes
1 answer

Information XML convert to XMI

I create a program to scan one database special. I get information like name of the class name of attribute and i all stocked in XML, and i want to get a graphs of those information to give me a visibility of the database. My XML likes this :
Yiao SUN
  • 908
  • 1
  • 8
  • 26
2
votes
0 answers

How to handle updating an Enterprise Architect UML model with XMI import

I use Enterprise Architect v. 12 for designing a new application. Now I'd like to add reverse engineering of the created source code into our development process. I would like to create an EA project with two Models (root nodes): Diagrams: Shall…
2
votes
1 answer

Save UML diagrams in XMI file

How I can save my UML 2.5 diagrams in XMI files. I read specifications for UML and XMI but I not enough know English to clearly understand it. I very need in example of xmi file that contains some UML 2.5 diagram. But I cannot find so samples. Or…
Denis Sologub
  • 7,277
  • 11
  • 56
  • 123
2
votes
1 answer

Is there some XMI standard?

I'm developing a Java application where the users should be able to import the Use Cases Diagrams in a XMI file. But I saw there's not standard for the generation of the file between the different UML tools like Argo, StarUML and Visual Paradigm. So…
Sredny M Casanova
  • 4,735
  • 21
  • 70
  • 115
2
votes
2 answers

Does any MOF implementation exist in C++?

Is there any alternative to JMI for C++? Thanks for the links or suggestions.
yegor256
  • 102,010
  • 123
  • 446
  • 597
2
votes
0 answers

Sequence Diagrams in XMI format to pseudo code

I have Sequence Diagrams exported from Altova UModel Tool in XMI 2.1 for UML 2.2 format. I need to generate pseudo code of the Sequence Diagram. Are there any specific java libraries (DOM?) which can be used to parse XMI, which can help to generate…
sinhayash
  • 2,693
  • 4
  • 19
  • 51
2
votes
0 answers

Generating XMI or graphic UML diagrams (not code documentation) in C#.NET

Is there any solution available for generating UML diagrams (or at least XMI files) in C#.NET? Bear in mind that I don't want to reverse engineer my code but automate UML diagrams generation (different kind of them, mostly component diagrams).
kozziou
  • 21
  • 4
2
votes
2 answers

Load EMF model instance from XMI file

I know there are several QnA about this subject. I have tried lots of solution, I am always getting same error. My code structure is like: Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE; Map m =…
fukit0
  • 924
  • 1
  • 11
  • 35
2
votes
0 answers

how to load models (ecores) which are referenced in my model programmatically

I'm working on a tool to transform a model to MetaModel programmatically, and I figure out with this problem: when I load/save a Model 'A' (xmi) that contain EClass with superType referencing others Classifier in other ecores 'B', 'C' ( separated…
issamux
  • 1,336
  • 1
  • 19
  • 35
2
votes
1 answer

xtend2 code generation with ecore meta-model

I created an ecore-Metamodel, a genmodel and a corresponding model. Now I want to generate Code from this. I found this post and wanted to implement it. I get no errors and so on, but how do I bring the CodeGenerator to generate the wanted output in…
Iron
  • 477
  • 4
  • 19
2
votes
2 answers

Eclipse Modelling Framework (EMF): How to get the DomainModel from a Magicdraw UML2 Export

I want to use the EMF for Code Generation, so I wrote some methods to load my UML2 File which I generated myself. This works fine with the following code: protected void registerResources() { …
ddejmek
  • 167
  • 1
  • 5
  • 10
2
votes
0 answers

Pear PHP_UML creates XMI... now how do I create a diagram?

I ran PHP_UML against existing PHP code, and have created an XMI file. My goal is to automate turning this XMI file into a visual diagram, i.e. pdf or svg file. This looked like a good solution, but not sure how to use it properly to get the…
Brett
  • 149
  • 13
1 2
3
9 10