Design Discussion

XML

Luckily, translating the definition of the different components into XML is a relatively straightforward operation. In fact, the component design has been made directly in XML. XML was part of the very early design decisions, and therefore has much influenced the design. The reasons for choosing XML as the most fundamental data format are several:

This list could easily be continued. Of course, there are problems, such as the following:

XMI

The XML Metadata Interchange (XMI) format is designed as a serialization of a UML metamodel described using the MOF. This serialization is done using XML. Why isn't this a suitable XML binding of our objects? The reason is that it shares many of the problems with the MOF as described in the section called Design Discussion in Chapter 1, Database structure, more precisely:

So we have decided not to use XMI. This is also the right place to mention UML Exchange Format (UXF) described in [uxfspec] that is a more lightweight XML description of UML diagrams which has inspired us in many ways.