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 123480 - autocomplete changes the case of closing tags
Summary: autocomplete changes the case of closing tags
Status: RESOLVED DUPLICATE of bug 108560
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 14:32 UTC by harleyjw
Modified: 2008-03-25 01:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description harleyjw 2007-12-05 14:32:47 UTC
When using the autocomplete offering to close any XML tag, the autocomplete suggestion CHANGES THE CASE of the closing
tag to lower case. However, case is significant in XML so if the closing tag has different case, the file cannot be
parsed as XML.

This affects editing XML, HTML and JSP files.

Third party JSP tag libraries can and do provide tags which use camel case, for example Apache Tomahawk's tag library
includes <t:htmlTag>. The NetBeans editor autocomplete offers </t:htmltag> which is subtly different and definitely
incorrect.
Comment 1 Samaresh Panda 2008-03-25 01:38:35 UTC

*** This issue has been marked as a duplicate of 108560 ***