Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349071 - [EclipseLink] eclipselink 2.3 schemas not up to date
Summary: [EclipseLink] eclipselink 2.3 schemas not up to date
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard: fix_ready
Keywords:
: 350180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-10 12:25 EDT by Karen Butzke CLA
Modified: 2011-08-02 14:11 EDT (History)
4 users (show)

See Also:
neil.hauge: review+


Attachments
proposed patch against head (507.73 KB, patch)
2011-06-14 10:18 EDT, Karen Butzke CLA
no flags Details | Diff
another proposed patch against head (508.87 KB, patch)
2011-06-24 09:10 EDT, Karen Butzke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2011-06-10 12:25:12 EDT
The eclipselink-orm.xml schema included in org.eclipse.jpt.common.eclipselink.core is not up to date with the latest changes in eclipselink 2.3. Multi-tenant support was added in May 2011
Comment 1 Karen Butzke CLA 2011-06-14 10:18:43 EDT
Created attachment 197954 [details]
proposed patch against head
Comment 2 Paul Fullbright CLA 2011-06-23 15:28:02 EDT
Actually, I'm going to go ahead and lump all eclipselink 2.3 schemas under one bug.

This includes (or could potentially include):

eclipselink_orm_2_3.xsd
eclipselink_oxm_2_3.xsd
eclipselink_persistence_map_2_3.xsd
Comment 3 Paul Fullbright CLA 2011-06-23 15:28:39 EDT
*** Bug 350180 has been marked as a duplicate of this bug. ***
Comment 4 Karen Butzke CLA 2011-06-24 09:10:48 EDT
Created attachment 198529 [details]
another proposed patch against head

This patch includes an update to the eclipselink_persistence_map_2.3.xsd. All 3 schemas have been updated. The translators for the 2.3 orm schema have been updated to fix some issues with not having translators for all elements
Comment 5 Karen Butzke CLA 2011-06-24 11:50:03 EDT
checked in to HEAD for 3.0.1
Comment 6 Neil Hauge CLA 2011-06-27 17:31:37 EDT
Workaround:

In the XML Catalog add a "user specified entry" for the out-of-date schema with the same key name as the "plugin specified entry" (For example  - "http://www.eclipse.org/eclipselink/xsds/eclipselink_oxm_2_3.xsd" in the case of the OXM schema) and point this entry to the shipped schema from the EclipseLink install.

The user entry will then override the plugin entry and you will get validation
and content assist based on the user defined schema.
Comment 7 Neil Hauge CLA 2011-06-27 17:32:19 EDT
Workaround 2:

Another workaround is to manually replace the out-of-date schema included in
the org.eclipse.jpt.common.eclipselink.core_1.0.0.jar /schemas directory.  This
workaround should be used if the workaround in comment #6 doesn't work.
Comment 8 Neil Hauge CLA 2011-06-28 14:33:48 EDT
Bug 350615 was entered as a possible solution to avoiding this particular problem in the future.
Comment 9 Jolene Moffitt CLA 2011-08-02 14:11:48 EDT
Verified in Build I-3.4.0-20110731180834

Verified the build has the latest eclipselink_orm_2_3.xsd, eclipselink_oxm_2_3.xsd, eclipselink_persistence_map_2_3.xsd files.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1