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

Bug 322568

Summary: JAXB schema generation uses all classes in the chosen package
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JAXBAssignee: Tran Le <tranle1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 3.0   
Target Milestone: 3.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 324689    
Bug Blocks:    

Description Karen Butzke CLA 2010-08-12 13:49:05 EDT
Open the 'Schema from JAXB classes' wizard and select a package. In that package just select one of the classes instead of all of them. Press finish and the console only displays the one class but then the resulting schema includes all the classes.
Comment 1 Tran Le CLA 2010-09-27 14:09:22 EDT
The issue resided in MOXy JAXB implementations; the Metro implementation generates a schema with only the class selected.
I have communicated with Blaise and bug 324689 was opened.
Comment 2 Neil Hauge CLA 2011-05-26 16:52:06 EDT
Fixed in EclipseLink 2.3.
Comment 3 Neil Hauge CLA 2011-05-26 16:52:14 EDT
.