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 252900 - XML autocompletion ignores case
Summary: XML autocompletion ignores case
Status: REOPENED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-09 20:14 UTC by muellermi
Modified: 2016-10-05 16:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (305.52 KB, text/plain)
2015-06-09 20:14 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2015-06-09 20:14:03 UTC
Product Version = NetBeans IDE Dev (Build 201506090001)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02

In a web application (JSF), xhtml page, enter an opening tag like

            <h:panelGroup rendered="#{false and book.reviewLinks.size() > 0}">

then start the corresponding closing tag

            </h

and invoke autocompletion (by ctrl space)

NetBeans completes to

            </h:panelgroup>

but it has to be
            </h:panelGroup>
with a capital "G"

For me as an experienced developer, this is just annoying to correct this every time. 
But for a junior developer this might be a problem, which he discovers late at runtime...
Comment 1 muellermi 2015-06-09 20:14:14 UTC
Created attachment 154133 [details]
IDE log
Comment 2 muellermi 2015-06-09 20:26:40 UTC
I just made some additional checks:

If i invoke autocomplete at the same line

<h:panelGroup rendered="#{false and book.reviewLinks.size() > 0}"></h:

NetBeans offers the completion using the correct case. The problem only occurs, if invoking at a different line.

I don't know when this error appeared the first time. I checked 20150605 which contains the same problem.
No such problem in NB 8.0.2 (original version, I haven't tested with the latest updates)
Comment 3 Martin Balin 2016-07-07 08:55:39 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 4 muellermi 2016-08-04 21:35:27 UTC
still buggy, reopened