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.
Poblem: Code completion inserts closing tag when closing tag is already present. System Info: Product Version: NetBeans IDE Dev (Build 200801220251) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb) Steps to Reproduce: 1. Create a new schema 2. add a new Complex type 3. add a new element to the complex type 4. change to source view 5. position cursor after <xsd:element name="newElement"> 6. invoke Code Completion and the closing tag for that is inserted. This breaks the schema and should not happen since the closing tag already exists.
Fixed: http://hg.netbeans.org/main/rev/013dbf209af0.
Fix Verified Product Version: NetBeans IDE Dev (Build 200808170243) Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52 System: Mac OS X version 10.5.4 running on x86_64; MacRoman; en_US (nb)