| Summary: | [oclinecore] not all EAnnotation.references feasible | ||
|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1.0 | ||
| Target Milestone: | M7 | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
The Fix for Bug 363141 ensures any awkward reference should serialize as a URI. This closes the loophole whereby not all *.ecore could be viewed/edited as *.oclinecore. The residual ergonomic problem of editing awkward references as URIs is an enhancement addressed by Bug 376195. CLOSED after a year in the RESOLVED state. |
An EAnnotation.reference can refer to any element, which requires every element to be able to have a referenceable textual handle. This is not true for e.g. an Annotation since although it has a name, it is not unique and not a name with respect to its parent. It would seem that a referenceable name overlay is needed so that e.g. annotation#xyzzy ... defines xyzzy as the referenceable handle for the annotation allowing subsequent usage as annotation ... { reference xyzzy; } --- The improvements to allow references to work at all emanating from Bug 354336 will probably provide URIs as the handles.