This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 95846 - Nice to integrate JAXB to generate class(es) from schema in editor
Summary: Nice to integrate JAXB to generate class(es) from schema in editor
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on: 96115
Blocks:
  Show dependency tree
 
Reported: 2007-02-16 19:31 UTC by tnelson
Modified: 2009-01-07 13:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tnelson 2007-02-16 19:31:15 UTC
It would be nice to have JAXB generate classes from the schema currently in the
editor.  The IDE should prompt for a package name if there are multiple source
packages defined, otherwise default to the project source package (or try to
grok one from the target namespace) with ".generated" appended.  There would
have to be some cleverness involved with maintaining the ObjectFactory class, as
JAXB creates a new one for each schema, which would prevent the use of multiple
schema files.  If that's too difficult, then restricting to one schema per
package is OK.
Comment 1 tk_fhd_aui 2009-01-07 13:35:56 UTC
Related to 112225.