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

Bug 315814

Summary: JAXB Class Generation Wizard: bindings files support for XBD and XML file extensions
Product: [WebTools] Dali JPA Tools Reporter: Andrew Fernandez <ripsi_1>
Component: JAXBAssignee: Tran Le <tranle1>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt, karenfbutzke, neil.hauge
Version: unspecified   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andrew Fernandez CLA 2010-06-04 14:20:02 EDT
Build Identifier: 

Last time I checked JAXB file generation from a schema file can also support XBD and XML file extensions.

In some documents it states that file extension doesn't matter with xjb is most commont.

As a comparison the OEPE JAXB wizard supported XBC, XJB and XML file extension formats for bindings files.

Reproducible: Always

Steps to Reproduce:
1. Launch JAXB Class Generation
2. Add a bindings file for a XSD file
 
Note only XJB file extension support
Comment 1 Andrew Fernandez CLA 2010-06-09 13:45:40 EDT
Updating this bug for clarity. Sorry for lack of proper grammar/writing when initially logged.

******

Last time I checked, JAXB type generation from a schema file can support XBD and XML file extensions when using bindings files, but the JAXB Class generation wizard currently only supports XJB file extensions when browsing for external bindings files.

As a comparison, the OEPE JAXB wizard supported XBD, XJB and XML file extension
formats for bindings files.

Reproducible: Always

Steps to Reproduce:
1. Launch JAXB Class Generation wizard off a XSD file in a OEPE web services project.
2. In the wizard, add a bindings file for the XSD file.

Expected:

Support for XBD, XJB, and XML file extension formats for bindings files

Actual:

Only XJB file extensions are supported now.
Comment 2 Tran Le CLA 2010-07-11 21:32:43 EDT
Completed in 3.0 M1
Comment 3 Karen Butzke CLA 2010-07-12 09:10:16 EDT
Tran, looks like you used .xbc instead of .xbd. I would probably rename XJB_FILTER to BINDINGS_FILE_FILTER
Comment 4 Tran Le CLA 2010-07-14 21:33:54 EDT
Committed in Head.
Comment 5 Jolene Moffitt CLA 2010-09-10 08:29:07 EDT
Verified in Build I-3.3.0-20100901095216

Verified Bindings files support .xbd and .xml files.  http://wiki.eclipse.org/Dali_3.0_M1