Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 425192

Summary: Stale comment reference
Product: [Modeling] EMF Reporter: Ed Willink <ed>
Component: CoreAssignee: Ed Merks <Ed.Merks>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=511253
Whiteboard:

Description Ed Willink CLA 2014-01-09 09:15:07 EST
The

  /**
   * See <a href="http://www.omg.org/docs/html/06-01-01/Output/apndx_a.html#77093">OMG Issue 77093</a> but note that it has a typo and that "orb" should be "org".
   * @since 2.4
   */

reference in org.eclipse.emf.ecore.xmi.impl.EMOFExtendedMetaData.java is incorrect and stale.

I think the OMG Issue was 7783 not 77093 and the Tag spelling changed in MOF 2.4 so while the Ecore->EMOF->Ecore round trip works, the EMOF Tag is non-conformant. Issue 12800 is more relevant.


Suggest remove the stale comment and add:

/**
 * <a href="http://www.omg.org/issues/mof2core-rtf.html#Issue12800">OMG Issue 12800</a> suggested using this name for EMOF comments and Ecore annotations to
identify the name at the opposite end of an unnavigable property reference. The eventual MOF resolution used a org.omg.emof.oppositeRoleName Tag. This name is
used as the Source for an EReference EAnnotation whose EMOF_COMMENT_BODY detail provides the opposite name.
 */

for EMOF_PROPERTY_OPPOSITE_ROLE_NAME_ANNOTATION_SOURCE
Comment 1 Ed Merks CLA 2014-01-13 08:47:04 EST
The changes are committed to master:

http://git.eclipse.org/c/emf/org.eclipse.emf.git/commit/?id=cb5ed66a3c1b56b27337b013127ee1e0ba2e8363
Comment 2 Ed Merks CLA 2014-06-21 02:18:46 EDT
The changes are available in the latest release.