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

Bug 342344

Summary: Inconsistent URIs in XMLType.ecore
Product: [Modeling] EMF Reporter: Ed Willink <ed>
Component: CoreAssignee: Ed Merks <Ed.Merks>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Corrected URI references none

Description Ed Willink CLA 2011-04-09 02:20:07 EDT
XMLType.ecore has inconsistent URI references; most use e.g. #//String to resolve internally, but a couple use the full URI and so may resolve elsewhere.

Patch to follow.
Comment 1 Ed Willink CLA 2011-04-09 02:22:01 EDT
Created attachment 192885 [details]
Corrected URI references
Comment 2 Ed Merks CLA 2011-04-09 12:59:28 EDT
It's produced by XSDEcoreBuilder from XMLType.xsd so it's not ideal simply to change it.
Comment 3 Ed Merks CLA 2011-05-12 17:41:50 EDT
I modified the XSDEcoreBuilder so that XMLType.ecore only contains self references. This changes the generated XMLTypePackageImpl too.  The changes are committed to CVS for 2.7.
Comment 4 Ed Merks CLA 2011-06-02 11:40:19 EDT
The fix is available in 3.7RC3 and later.