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 33653 - + and # incorrectly considered errors
Summary: + and # incorrectly considered errors
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 15:56 UTC by cahrens
Modified: 2007-11-05 13:44 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 cahrens 2003-05-15 15:56:03 UTC
The following HTML code is valid syntax (the + sign 
increases the font size by 2).  However, the + signs are 
always flagged as errors.  Sometimes the # sounds also are 
highlighted as errors, for instance if I delete the + sign.

<body bgcolor="#FFFFFF" link="0033CC" vlink="#666666">

<img src="rtw_product_page.gif"> 
<br>
<font size=+2 color=#000066><b class="middoc"><img 
src="docicon_product_page.gif">&nbsp;What's New</b></font>
Comment 1 _ rkubacki 2003-05-16 07:34:38 UTC
Works if attribute value is quoted but it is a bug.
Comment 2 Martin Roskanin 2003-05-16 14:56:06 UTC
<font size=+2 color=#000066>
is not valid HTML 4.01 Transitional syntax

here is the output of the validator (http://validator.w3.org/)

   1.  Line 10, column 13:  an attribute value must be a literal
unless it contains only name characters  (explain...).

<font size=+2 color=#000066>
           ^

   2. Line 10, column 22: an attribute value must be a literal unless
it contains only name characters (explain...).

<font size=+2 color=#000066>
                    ^