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 155042 - Unify DTD and Schema based completion
Summary: Unify DTD and Schema based completion
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL: http://wiki.netbeans.org/XmlCodeCompl...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 15:51 UTC by Samaresh Panda
Modified: 2009-02-19 23:32 UTC (History)
0 users

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 2008-12-09 15:51:14 UTC
Currently there are two ways user gets CC inside a XML document. A) DTD based B) Schema based.

Essentially the mechanics of finding the context and making the right query based on the context information are same in
both cases. In addition the look and feel of the CC pop-up are different.

Here are the advantages of combining the two modules:
* One code-base: Less bugs, less maintenance.
* One look/feel 
* DTD based completion is old. There is no documentation and no unit tests. New one will have it all.
* Theoretically, new one could allow extension/hooks, so that any other third party could plug-in additional CC.
Comment 1 tk_fhd_aui 2009-01-07 12:56:38 UTC
Don't these depend on issue 122438 (XML lexer migration) and 154788 (Migrate XML Syntax support to use Lexer.)? I guess
someone implementing it would first wait for these others to be done.