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 253874

Summary: XML Values completion (code completition)
Product: xml Reporter: lehel
Component: Text-EditAssignee: Svata Dedic <sdedic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: vriha
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 8 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: sample project
second project

Description lehel 2015-07-27 18:39:14 UTC
Having a DTD with a list of values to an attribute, value completition does not work in xml files, before closing the tag with end tag >. Ctrl+Space just shows the possible values but does not insert the choosen value when I hit enter.
Comment 1 Vladimir Riha 2015-08-03 08:07:54 UTC
Created attachment 155140 [details]
sample project

Sample project based on a steps from Test spec. Open the xml file and invoke cc for value of year attr at the last line
Comment 2 Vladimir Riha 2015-08-03 08:08:21 UTC
I don't think this is a stopper for Beta
Comment 3 Svata Dedic 2015-09-04 12:34:32 UTC
Vlado: I cannot see anything except 'boolean' enumerating values in the project's DTD. I probably misunderstood the issue - could you please elaborate ?
Comment 4 Vladimir Riha 2015-09-07 07:58:54 UTC
Created attachment 155934 [details]
second project

I'm sorry, I probably misread the steps :/ It seems to work now, if you open the attached project, value for year attribute is offered OK.

Thanks


Product Version: NetBeans IDE Dev (Build 201509030002)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb)