UML models can be imported/exported as XMI, a XML-based UML exchange format. I'm looking for any document that describes the syntax of such XMI files.
See below an extract of a XMI file which describes an interface with one operation inside a package :
<-- Package -->
<packagedElement xmi:type="uml:Package" xmi:id="myPackage" name="myPackage">
<!-- Interface -->
<packagedElement xmi:type="uml:Interface" name="IName" isAbstract="true" xmi:id="myPackage.IName">
<!-- An operation of this interface -->
<ownedOperation name="getSomething" visibility="public">
<ownedParameter type="myPackage.Type" isUnique="false" direction="return">
</ownedParameter>
</ownedOperation>
</packagedElement>
</packagedElement>
I'm looking for the document that describes the allowed uml:Something tags, their attributes, the allowed children elements, etc.
If you do not have the document or don't know where to find it, at least do you know the official name of such a document ? (this would help me in my endless quest...)
Right now, the only way I found to understand the syntax is to create a model using a modeling tool (such as Modelio or RSA), export it as XMI and analyze the result. Which is a bit too empirical.