XML metadata interchange

from Wikipedia, the free encyclopedia
XML metadata interchange
File extension : .xmi
Developed by: Object Management Group
Initial release: September 1, 2005
Current version: 2.5.1 (as of June 2015)
Type: Markup language
Extended by: XML
Website : www.omg.org/spec/XMI

XML Metadata Interchange (XMI) is a standard of the Object Management Group (OMG) and is increasingly used as an exchange format between software development tools (e.g. in the Eclipse Modeling Framework , EMF).

The format is open and vendor-neutral and allows the data exchange of objects on the basis of meta-metamodels according to the Meta Object Facility (MOF). In addition to UML models, any metadata can be exchanged as long as it can be expressed using the MOF . Due to the XML format, corresponding files can easily be created, searched, processed, saved and transmitted over the Internet. In this regard, XMI is superior to alternative exchange formats such as CDIF .

example

<xmi:XMI version="2.0" xmlns:UML=" http://schema.omg.org/spec/UML/1.4" 
xmlns:xmi=" http://schema.omg.org/spec/XMI/2.0">
    <xmi:Metamodel name="UML" version="1.4" href="UML.xml"/>
    <xmi:Model name="example" version="1" href="example.xml"/>
    <UML:Class name="C1">
        <feature xmi:type="UML:Attribute" name="a1" visibility="private"/>
    </UML:Class>
</xmi:XMI>

Well-known programs that use this format

See also

AP233

literature

  • Timothy J. Grose / Gary C. Doney / Stephen A. Brodsky: Mastering XMI , OMG Press 2002, ISBN 0471384291

Web links