Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 45917 - I18N - Misssing CC for encoding attribute in XML declaration in JSPX
I18N - Misssing CC for encoding attribute in XML declaration in JSPX
Product: javaee
Classification: Unclassified
Component: JSP
PC Linux
: P4 with 1 vote (vote)
: 6.x
Assigned To: issues@javaee
: I18N
Depends on:
Blocks: 45912
  Show dependency treegraph
Reported: 2004-07-08 10:43 UTC by Martin Schovanek
Modified: 2016-07-07 08:54 UTC (History)
2 users (show)

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo