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

Bug 363141

Summary: [oclinecore] Bad serialisation of EAnnotation references
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 3.2.0   
Target Milestone: M7   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-11-08 04:46:24 EST
M3: Opening pivot.ecore shows many errors on EAnnotation.reference fields: e.g.

attribute isStatic : _'Boolean'
{
	annotation redefines
	{
		reference
					NamedElement::_'platform:/resource/org.eclipse.ocl.examples.pivot/model/pivot.ecore#//NamedElement/isStatic';
	}
}

Why the package qualification on the nested name?
Comment 1 Ed Willink CLA 2011-11-08 14:06:10 EST
See also Bug 354608
Comment 2 Ed Willink CLA 2012-04-05 11:50:18 EDT
Fixed by consistent use of PathNameCS for parsing and distinct PathNameCS behaviours for ElementUtil.isPathable() elements. isPathable leads to A::B::C, !isPathable leads to _'http::/xx'.
Comment 3 Ed Willink CLA 2013-05-20 11:38:00 EDT
CLOSED after a year in the RESOLVED state.