Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342344 - Inconsistent URIs in XMLType.ecore
Summary: Inconsistent URIs in XMLType.ecore
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.7.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-09 02:20 EDT by Ed Willink CLA
Modified: 2011-06-02 11:40 EDT (History)
0 users

See Also:


Attachments
Corrected URI references (1.48 KB, patch)
2011-04-09 02:22 EDT, Ed Willink CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.