omg-dmn-taskforce / omg-dmn-spec

OMG Decision Model and Notation specification
https://www.omg.org/spec/DMN/
12 stars 9 forks source link

Missing property "id" in the DC::Style in XMI file #10

Closed barmac closed 1 year ago

barmac commented 4 years ago

DC::Style (which should be DI::Style BTW) in the DMNDI13.xmi file does not contain any properties:

      <packagedElement xmi:type="uml:Class" xmi:id="_18_1_f7a0369_1441612964861_428140_5975"
                       name="DC::Style"
                       isAbstract="true"/>

While in the DI.xsd it has an id:

    <xsd:complexType name="Style" abstract="true">
        <xsd:annotation>
            <xsd:documentation>Style contains formatting properties that affect the appearance or style of diagram elements, including diagram themselves.</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="extension" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> 
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>
        <xsd:attribute name="id" type="xsd:ID"/>
        <xsd:anyAttribute namespace="##other" processContents="lax"/>
    </xsd:complexType>
falko commented 1 year ago

Proposal: In DMNDI15, add id to DI::Style (already renamed from DC::Style by #8)