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 102182 - Everything in embedded CSS section marked as syntax errors
Summary: Everything in embedded CSS section marked as syntax errors
Status: RESOLVED DUPLICATE of bug 102794
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 16:11 UTC by Jesse Glick
Modified: 2008-07-30 09:28 UTC (History)
1 user (show)

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 Jesse Glick 2007-04-23 16:11:35 UTC
070419. I opened

graph/lib/src/org/netbeans/api/visual/widget/doc-files/documentation.html

and saw syntax errors on every line of the embedded stylesheet. The message in
each case was simply "Syntax error." which doesn't help much.
Comment 1 Jesse Glick 2007-04-23 16:12:44 UTC
If I remove the HTML comment tags then it is OK.
Comment 2 Jesse Glick 2007-04-23 16:21:35 UTC
...or almost OK; then the </style> is marked as an error!
Comment 3 Jesse Glick 2007-04-23 16:25:56 UTC
With the stylesheet surrounded by an HTML comment, the syntax coloring of the
CSS is also quite messed up (though it does not appear simply as a solid grey
block of comment).
Comment 4 Jan Jancura 2007-04-27 15:45:45 UTC
Should be fixed in html lexer.

*** This issue has been marked as a duplicate of 102794 ***
Comment 5 Marek Fukala 2007-04-28 14:54:43 UTC
Btw, the problem is mostly caused by issue #87014, but I'll do the fix we agreed on.