Information technology - Object Management Group XML Metadata Interchange (XMI)
Introduction: The main purpose of XMI is to enable easy interchange of metadata between application development lifecycle tools (such as modeling tools based on the Unified Modeling Language (UML), ISO/IEC 19505, and metadata repositories/ frameworks based on the Meta Object Facility (MOF), ISO/IEC 19508) in distributed heterogeneous environments. XMI integrates three key industry standards: • XML - eXtensible Markup Language, a W3C standard • UML - Unified Modeling Language (ISO/IEC 19505) • MOF - Meta Object Facility (ISO/IEC 19508) This International Standard does not deprecate or replace ISO/IEC 19503:2005, Information technology - XML Metadata Interchange (XMI). The specification provided by this International Standard is identical to the OMG specification XMI 2.4.2 that is aligned with MOF 2.4.1 (ISO/IEC 19508) and UML 2.4.1 (ISO/IEC 19505). It is not backward compatible with XMI 1.4, as specified in ISO/IEC 19503:2005, which is aligned with MOF 1.4, as specified in ISO/IEC 19502:2005, and UML 1.4.2, as specified in ISO/IEC 19501:2005.
Scope: This International Standard supports the Meta Object Facility (MOF) Core defined in ISO/IEC 19508. MOF is the foundation technology for describing metamodels. It covers a wide range of domains, and is based on a constrained subset of UML. XMI is widely used XML interchange format. It defines the following aspects involved in describing objects in XML: • The representation of objects in terms of XML elements and attributes. • The standard mechanisms to link objects within the same file or across files. • The validation of XMI documents using XML Schemas. • Object identity, which allows objects to be referenced from other objects in terms of IDs and UUIDs. XMI describes solutions to the above issues by specifying EBNF production rules to create XML documents and Schemas that share objects consistently. Conformance 2.1 General This sub clause describes the required and optional points of compliance with the XMI specification. The terms “XMI Document” and “XMI Schema” are defined in Clause 4. 2.2 Required Compliance 2.2.1 XMI Schema Compliance XMI Schemas must be equivalent to those generated by the XMI Schema production rules specified in this document. Equivalence means that XMI documents that are valid under a schema produced by the XMI Schema production rules would be valid in a conforming XMI Schema and that those XMI documents that are not valid under a schema produced by the XMI Schema production rules are not valid in a conforming XMI Schema. 2.2.2 XMI Document Compliance XMI Documents are required to conform to the following points: