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 137717

Summary: entities code completion is adding extra ampersand
Product: xml Reporter: Jindrich Sedek <jsedek>
Component: Text-EditAssignee: Samaresh Panda <samaresh>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 138486    

Description Jindrich Sedek 2008-06-19 13:20:07 UTC
Create new XML document using some DTD schema
type:
-----------
 &qu|
------------
Press Ctrl+Space to invoke cc -> code is completed to "&&quot;", but just one & should be added
Comment 1 Samaresh Panda 2008-06-24 19:59:23 UTC
Related issue 135378. Nightmare code, but will try to fix it for M1.
Comment 2 Samaresh Panda 2008-06-28 00:02:17 UTC
*** Issue 135378 has been marked as a duplicate of this issue. ***
Comment 3 Samaresh Panda 2008-06-30 22:39:50 UTC
Fixed: http://hg.netbeans.org/main?cmd=changeset;node=1c0d521b4195.
Not the best fix, but works.
Comment 4 Jindrich Sedek 2008-07-23 12:30:53 UTC
no double & is added, but cc still doesn't work well in this case see: #141320
verified
NetBeans IDE Dev (Build 200807230010)