Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329471 - OXM.XML provide means to bootstrap on XML metadata only
Summary: OXM.XML provide means to bootstrap on XML metadata only
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 13:50 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:24 EDT (History)
2 users (show)

See Also:


Attachments
Proposed fix (23.71 KB, patch)
2010-11-09 13:55 EST, David McCann CLA
no flags Details | Diff
Supporting tests (35.53 KB, patch)
2010-11-09 13:55 EST, David McCann CLA
no flags Details | Diff

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