Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Standard UML file format

Tags:

I have designed UML diagrams in different tools (StarUML, BoUML, Papyrus, Omondo, Rational Rose, etc.) depending on the project and the date (rose was first, after Omondo, then starUMl, ..., now papyrus). However, I see that I cannot open my old UML diagrams because the tool is obsolete.

I would like to know if there is a standard format for UML diagrams. Probably not in production, but at least to know if there is proposal of standard format.

Probably, Eclipse is doing something like that with the M2 project, but do the other tools (not eclipse based) are interested in reading this format.?

Each UML tool uses its own format, but I think the era of proprietary format is over, and open format for diagrams like this should exist.

like image 431
AngocA Avatar asked Oct 28 '11 13:10

AngocA


People also ask

What is the UML standard?

The Unified Modeling Language (UML) is a general-purpose, developmental, modeling language in the field of software engineering that is intended to provide a standard way to visualize the design of a system.

Is UML XML?

UML has been standardized by the Object Management Group (OMG). XML Schema is an emerging standard from W3C. XML Schema is a language for defining the structure of XML document instances that belong to a specific document type. XML Schema can be seen as replacing the XML DTD syntax.

What is a UXF file?

A UXF file is a model interchange file saved in the UML eXchange Format (UXF). It contains Unified Modeling Language (UML) elements in XML format that make up a diagram. UML files are commonly used in the software engineering field to visualize the structure of an application or system. UXF file open in UMLet 14.2.


1 Answers

I have two answers to this:

  • In theory the standard exchange format for UML models is XMI but it´s true that each vendor implements a slightly different version so interchange is not a reality. Nevertheless, most tools are converging to at least support the Eclipse MDT-UML2 XMI implementation which in my opinion is becoming de facto XMI standard.

  • The OMG is working on a new standard : Diagram Definition that is supposed to fix the problems with the current XMI one (they are working a lot with many of the top vendors to make sure that this time they all go in the same direction) and, also important, it will allow to interchange not only the data (i.e. the info about the model elements) but also the layout and graphical representation so that after the import you get a model exactly as the same you exported in the first place

like image 56
Jordi Cabot Avatar answered Oct 02 '22 07:10

Jordi Cabot