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

Summary: Unify DTD and Schema based completion
Product: xml Reporter: Samaresh Panda <samaresh>
Component: CodeAssignee: Samaresh Panda <samaresh>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://wiki.netbeans.org/XmlCodeCompletion
Issue Type: TASK Exception Reporter:

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.