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 - XML Values completion (code completition)
Summary: XML Values completion (code completition)
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 8.1
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 18:39 UTC by lehel
Modified: 2015-09-07 07:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (4.75 KB, application/zip)
2015-08-03 08:07 UTC, Vladimir Riha
Details
second project (4.76 KB, application/zip)
2015-09-07 07:58 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
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)