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 45917

Summary: I18N - Misssing CC for encoding attribute in XML declaration in JSPX
Product: javaee Reporter: Martin Schovanek <mschovanek>
Component: JSPAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: jf4jbug, pjiricka
Priority: P4 Keywords: I18N
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 45912    

Description Martin Schovanek 2004-07-08 10:43:54 UTC
[#200407071800, jdk1.5.0-b3]


Steps to reproduce:
-------------------
1) put cursor at:
<?xml version="1.0" encoding="|UTF-8"?>
The '|' char represents cursor.
2) invoke CC
ERROR: empty CC window appears

CC should offer supported encodings.
Comment 1 Ken Frank 2004-07-26 21:47:06 UTC
added i18n to synopsis for internal tracking

ken.frank@sun.com
07/26/04
Comment 2 Petr Pisl 2004-08-13 15:13:04 UTC
It's not easy to fix. Changes have to be done in JSPMultiSyntax. 
Comment 3 Petr Pisl 2005-11-10 14:15:28 UTC
I don't think that we will have time to fix this in the 5.0. 
Comment 4 Marek Fukala 2005-12-02 12:55:06 UTC
Since we use HTMLSyntax for the JSP documents we would have to hack it somehow.
Comment 5 Marek Fukala 2006-07-21 11:28:00 UTC
I would prefer having XML syntax embeded in the JSP instead of bending the HTML
one. I also not convinced that this is a bug, I would say it is more like an
enhancement.
Comment 6 captainpinko 2006-08-06 06:26:37 UTC
Definitely a bug since it doesn't colour-code a fundamental part of XML tags
which are the basis for the current and all future versions of XHTML. Perhaps
this isn't a bug, but it is definitely a defect.
Comment 7 Petr Jiricka 2006-09-08 21:59:37 UTC
> Definitely a bug since it doesn't colour-code

I don't understand. Are we talking about code completion or colour coding? The
original bug report is about code completion. I agree with Marek that this is an
enhancement request, i.e. "missing behavior" rather than "incorrect behavior".
Changing to ENHANCEMENT. 

If there is any incorrect behavior in colour coding (I am not aware of any),
please file a separate issue.
Comment 8 Martin Balin 2016-07-07 08:54:16 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