staruml / staruml-xmi

XMI Import and Export for StarUML
MIT License
33 stars 22 forks source link

XMI version attribute is missing. #5

Closed rafaelcpalmeida closed 8 years ago

rafaelcpalmeida commented 8 years ago

This happens when I try to import the created XMI file, using ArgoUML.

niklauslee commented 8 years ago

There is XMI version attribute.

This is the exported XMI:

<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:uml="http://schema.omg.org/spec/UML/2.0" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1">
    <xmi:Documentation exporter="StarUML" exporterVersion="2.0"/>
    <uml:Model xmi:id="AAAAAAFUbyFaA5FT7tI=" xmi:type="uml:Model" name="RootModel">
        <packagedElement xmi:id="AAAAAAFF+qBWK6M3Z8Y=" name="Model" visibility="public" xmi:type="uml:Model">
            <packagedElement xmi:id="AAAAAAFUas56pJET558=" name="Class1" visibility="public" isAbstract="false" isFinalSpecialization="false" isLeaf="false" xmi:type="uml:Class" isActive="false">
                <ownedAttribute xmi:id="AAAAAAFUas6WK5E9kCE=" name="value" visibility="public" isStatic="false" isLeaf="false" type="Integer_id" isReadOnly="false" isOrdered="false" isUnique="false" xmi:type="uml:Property" aggregation="none" isDerived="false" isID="false"/>
                <ownedOperation xmi:id="AAAAAAFUas775JFF9Q0=" name="getValue" visibility="public" isStatic="false" isLeaf="false" concurrency="sequential" isQuery="false" isAbstract="false" xmi:type="uml:Operation">
                    <ownedParameter xmi:id="AAAAAAFUas775JFGu2s=" visibility="public" isStatic="false" isLeaf="false" type="Integer_id" isReadOnly="false" isOrdered="false" isUnique="false" direction="return" xmi:type="uml:Parameter"/>
                </ownedOperation>
                <ownedOperation xmi:id="AAAAAAFUas775JFH9N4=" name="setValue" visibility="public" isStatic="false" isLeaf="false" concurrency="sequential" isQuery="false" isAbstract="false" xmi:type="uml:Operation">
                    <ownedParameter xmi:id="AAAAAAFUas775JFIjl8=" name="value" visibility="public" isStatic="false" isLeaf="false" type="Integer_id" isReadOnly="false" isOrdered="false" isUnique="false" direction="in" xmi:type="uml:Parameter"/>
                </ownedOperation>
            </packagedElement>
        </packagedElement>
        <packagedElement xmi:id="Integer_id" xmi:type="uml:DataType" name="Integer"/>
    </uml:Model>
</xmi:XMI>