XMI
|
XMI (XML Metadata Interchange) is an OMG standard for exchanging metadata information via XML. It can be used for any metadata whose metamodel can be expressed in MOF. 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 (metamodels).
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. For diagrams, the Diagram Interchange (DI, XMI[DI]) standard is used. At the moment there are severe incompatibilities between different modeling tool vendor implementations of XMI, even between interchange of abstract model data. The usage of Diagram Interchange is almost nonexistent. Unfortunately this means exchanging files between UML modeling tools using XMI is rarely possible.
Several versions of XMI have been created: 1.0, 1.1, 1.2 and 2.0. The 2.0 version is radically different from the 1.x series. However it brings XMI closer to idiomatic XML usage, but is unfortunately very rarely supported by modeling tools. The lack of good XMI support is slightly incomprehensible, since it is not a particularly complicated standard to adhere to. Then again good interoperability might not be in the best interest of the tool vendors themselves due to "vendor lock-in".
There are now other XML standards for representing metadata. One of the most recient is the OWL. OWL is built upon the RDF.
See also
Web Ontology Languagede:XML Meta Interchange fr:XML Metadata Interchange sv:XMI it:XMI