SDMetrics home page
The Software Design Metrics tool for the UML

Parsing Canonical XMI with SDMetrics

October 28, 2018, Jürgen Wüst. Category: Announcements

I have just released an updated set of project files for UML and SysML. The update resolves a problem when parsing XMI files that conform to the rules of Canonical XMI. Canonical XMI The XML document production rules of the XMI 2.x standards leave tool developers quite a few options how an object model can… [Continue reading]

Parsing the XMI Extensions of Enterprise Architect

January 2, 2018, Jürgen Wüst. Category: Announcements,Tips & Tricks

SDMetrics 2.35 introduces a small extension to the XMI parser. Assume we need to access information such as the author or a documentation string from the XMI extension part of Enterprise Architect. This information is encoded as follows: <uml:Model xmi:type=”uml:Model” name=”EA_Model” visibility=”public”> <packagedElement xmi:type=”uml:Package” xmi:id=”4A3564″ name=”test” visibility=”public” /> </uml:Model> <xmi:Extension extender=”Enterprise Architect” extenderID=”6.5″> <elements> <element… [Continue reading]