Issue 16277: The production rule for Associations should use sequence if the tag order is set to true (mof2xmi-rtf) Source: Adaptive (Mr. Pete Rivett, pete.rivett(at)adaptive.com) Nature: Uncategorized Issue Severity: Summary: 7. AssociationDef ::= "<xsd:element name=’"’ 7a:AssnElmtName ’"’>" "<xsd:complexType> <xsd:choice minOccurs=’0’ maxOccurs=’unbounded’>" 7b:AssnContents "</xsd:choice>" 7d:AssnAtts "</xsd:complexType> </xsd:element>" Should be: 7. AssociationDef ::= "<xsd:element name=’"’ 7a:AssnElmtName ’"’>" "<xsd:complexType>” (“<xsd:choice minOccurs=’0’ maxOccurs=’unbounded’>" | “<xsd:sequence>” ) 7b:AssnContents ("</xsd:choice>" | “<xsd:sequence>” ) 7d:AssnAtts "</xsd:complexType> </xsd:element>" Replace the text for rule 7: The declaration of an Association consists of the names of its AssociationEnd XML elements (whether or not they are owned by the Association). With: The declaration of an Association consists of the names of its AssociationEnd XML elements (whether or not they are owned by the Association). If org.omg.xmi.ordered is true then a sequence is used (with the order of ends being that form the metamodel), otherwise a choice. Resolution: Revised Text: Actions taken: May 25, 2011: received issue Discussion: End of Annotations:===== s is issue # 16277 From: "Pete Rivett" The production rule for Associations should use sequence if the tag order is set to true 7. AssociationDef ::= "" " " 7b:AssnContents "" 7d:AssnAtts " " Should be: 7. AssociationDef ::= "" ". (." | .. ) 7b:AssnContents ("" | .. ) 7d:AssnAtts " " Replace the text for rule 7: The declaration of an Association consists of the names of its AssociationEnd XML elements (whether or not they are owned by the Association). With: The declaration of an Association consists of the names of its AssociationEnd XML elements (whether or not they are owned by the Association). If org.omg.xmi.ordered is true then a sequence is used (with the order of ends being that form the metamodel), otherwise a choice.