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

Bug 329471

Summary: OXM.XML provide means to bootstrap on XML metadata only
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david.twelves, eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix
none
Supporting tests none

Description Blaise Doughan CLA 2010-11-04 13:50:51 EDT
A means is required to bootstrap only on the XML metadata (ignoring annotations).  This is required for users that want to apply two independent mappings to an object model.
Comment 1 David McCann CLA 2010-11-09 13:50:23 EST
The xml-bindings element will now have a boolean attribute named "xml-mapping-metadata-complete" to indicate XML metadata complete.  An example of setting this follows:

<?xml version="1.0" encoding="US-ASCII"?>
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm"
     xml-mapping-metadata-complete="true" />
Comment 2 David McCann CLA 2010-11-09 13:55:20 EST
Created attachment 182748 [details]
Proposed fix
Comment 3 David McCann CLA 2010-11-09 13:55:32 EST
Created attachment 182749 [details]
Supporting tests
Comment 4 David McCann CLA 2010-11-09 14:03:02 EST
Reviewed by:  matt.macivor@oracle.com
Tests: all unit tests pass as expected; jaxb/externalizedmetadata/xmlmetadatacomplete/XmlMetadataCompleteTestCases

Revision: 8486
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:24:15 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink