Issue 11647: mismatch between diagram
Issue 12165: URGENT SBVR.xsd issue
Issue 11647: mismatch between diagram (sbvr-rtf)
Click here for this issue's archive.
Nature: Revision
Severity: Minor
Summary: mismatch between diagram where speech community is associated with exactly one semantic community but 07-09-04 version of the XMI/CMOF has speech community mapping to multiple semantic community e.g. <ownedMember xmi:type="cmof:Association" name="semantic community has speech community" xmi:id="semanticCommunityHasSpeechCommunity" memberEnd="semanticCommunityHasSpeechCommunity.semanticCommunity semanticCommunityHasSpeechCommunity.speechCommunity"> <ownedEnd xmi:type="cmof:Property" name="semantic community" xmi:id="semanticCommunityHasSpeechCommunity.semanticCommunity" type="semanticCommunity" lower="0" upper="*"/> <ownedEnd xmi:type="cmof:Property" name="speech community" xmi:id="semanticCommunityHasSpeechCommunity.speechCommunity" type="speechCommunity" lower="0" upper="*"/> </ownedMember>
Resolution:
Revised Text:
Actions taken:
November 12, 2007: received issue
Issue 12165: URGENT SBVR.xsd issue (sbvr-rtf)
Click here for this issue's archive.
Click here for this issue's attachments.
Source: Chronolytics (Mr. David Carlson, dave@chronolytics.com)
Nature: Revision
Severity: Critical
Summary:
The final XMI Schema for SBVR serialization is not correct for Associations, as required by the XMI 2.1.1 specification. An implementation that produces a valid XMI serialization will be judged as invalid, according to the SBVR.xsd. This is a critical bug. I have created an SBVR implementation using Eclipse EMF, based on the final SBVR cmof model. An example model serialization from EMF is attached, as test.sbvr. In it, each model element includes an xmi:id attribute. However, the SBVR.xsd does not allow this id on types derived from cmof Association. >From XMI v2.1.1, p. 49, the AssnAtts must include all XMIFixedAttribs 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>" 7a. AssnElmtName ::= 1c:Namespace //Name of association// 7b. AssnContents ::= 7c:AssnEndDef 7c:AssnEndDef 4c:Extension 7c. AssnEndDef ::= "<xsd:element" "name='" //Name of association end// "'>" "<xsd:complexType>" 1g:XMIFixedAttribs "</xsd:complexType>" "</xsd:element>" 7d. AssnAtts ::= 1g:XMIFixedAttribs And, from p. 44, the XMIFixedAttribs 1g. XMIFixedAttribs ::= ( "<xsd:attribute ref='xmi:id'" "use='optional'>" | "<attribute name='" //Id attrib name// "'" "type='xsd:ID' use='optional'") "<xsd:attributeGroup ref='xmi:ObjectAttribs'/>"