XML Metadata Interchange


The XML Metadata Interchange is an Object Management Group standard for exchanging metadata information via Extensible Markup Language.
It can be used for any metadata whose metamodel can be expressed in Meta-Object Facility.
The most common use of XMI is as an interchange format for UML models, although it can also be used for serialization of models of other languages.

Overview

In the OMG vision of modeling, data is split into abstract models and concrete models. The abstract models represent the semantic information, whereas the concrete models represent visual diagrams. Abstract models are instances of arbitrary MOF-based modeling languages such as UML or SysML. For diagrams, the Diagram Interchange standard is used. At the moment there are several incompatibilities between different modeling tool vendor implementations of XMI, even between interchange of abstract model data. The usage of Diagram Interchange is almost nonexistent. This means exchanging files between UML modeling tools using XMI is rarely possible.
One purpose of XML Metadata Interchange is to enable easy interchange of metadata between UML-based modeling tools and MOF-based metadata repositories in distributed heterogeneous environments. XMI is also commonly used as the medium by which models are passed from modeling tools to software generation tools as part of model-driven engineering.
Examples of XMI, and lists of the XML tags that make up XMI-formatted files, are available in the version 2.5.1 specification document.

Integration of industry standards

XMI integrates four industry standards:
The integration of these four standards into XMI allows tool developers of distributed systems to share object models and other metadata.
Several versions of XMI have been created: 1.0, 1.1, 1.2, 2.0, 2.1, 2.1.1, 2.4, 2.4.1, 2.4.2. and 2 5.1. The 2.x versions are radically different from the 1.x series.
VersionRelease dateURL
2.5.1June 2015http://www.omg.org/spec/XMI/2.5.1
2.4.2April 2014http://www.omg.org/spec/XMI/2.4.2
2.4.1August 2011http://www.omg.org/spec/XMI/2.4.1
2.4March 2011http://www.omg.org/spec/XMI/2.4
2.1.1December 2007http://www.omg.org/spec/XMI/2.1.1
2.1September 2005http://www.omg.org/spec/XMI/2.1

There are other XML standards for representing metadata, such as the Web Ontology Language, but OWL does not have built-in support for most of the information represented in UML.
The Diagram Definition OMG project is another alternative, which can also express the layout and graphical representation.
XMI is an international standard:
;XMI 2.4.2
;XMI 2.0