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 124539 - cleanup xml/core
Summary: cleanup xml/core
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-31 21:04 UTC by Samaresh Panda
Modified: 2008-12-05 17:20 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samaresh Panda 2007-12-31 21:04:29 UTC
xml/core module needs to be cleaned up for the following reasons:

- A lot of unnecessary classes related to "scenario" exists.
- The module bundles both model and UI related classes together. In principle, this is not good. Potentially there can
be a cyclic dependency. The UI related classes may want to depend on some other module X, which already depends on xml/core.
- A lot of code from xml/core (related to Loaders, DOs, encoding) can be reused elsewhere if xml/core is divided into a
separate module.

Here is my proposal:
1. cleanup all junk in xml/core.
2. xml/core is already a public module, so lets keep all the API and impls here. Nothing changes for the consumers.
3. Move rest of the stuff Loaders, DOs, UIs etc. to a new module xml.
4. This new module will have a lot of common code that can be reused by various modules. They will be friends.
Comment 1 Samaresh Panda 2008-12-05 17:20:57 UTC
Done in 6.1.