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.
FCS build #200505031930 of NetBeans 4.1 Windows XP, JDK 1.5.0_03 build #06 Description: ============ Code completion for predefined text entities beginning with & char is not sorted. See the attached picture to get what I mean. Steps to reproduce: =================== 1. Create new sample web application project. 2. Save attached tutorial.dtd and tutorial.xml files in the project. 3. Open tutorial.xml file. 4. Type '&' at line 10 and wait until code completion shows up or press CTRL+Space. Note that suggestions are not sorted.
Created attachment 22339 [details] Screenshot of unsorted completion list.
Created attachment 22340 [details] DTD file for easy reproduction of the bug.
Created attachment 22341 [details] XML file for easy reproduction of the bug.
fixed Checking in xml/core/src/org/netbeans/modules/xml/dtd/grammar/DTDGrammar.java; /cvs/xml/core/src/org/netbeans/modules/xml/dtd/grammar/DTDGrammar.java,v <-- DTDGrammar.java new revision: 1.21; previous revision: 1.20 done
Works fine in development build #200511031900 of NetBeans 5.0.