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 183631 - generated inline style is marked as an error
Summary: generated inline style is marked as an error
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-04-07 09:09 UTC by Jindrich Sedek
Modified: 2010-05-04 10:18 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 Jindrich Sedek 2010-04-07 09:09:48 UTC
create new web application with JSF support
open index.xhtml
use this code inside:
-----------
<h1 style="#{x.style}"></h1>
-----------
an error badge appears at FIRST line of the document with a message:
'Unexpected symbol found: ""'
Comment 1 Marek Fukala 2010-04-12 11:23:46 UTC
"regression" of a fix of the issue 180728. The fix allows the errors in virtual source to appear at the beginning of the file.

The code <h1 style="#{x.style}"></h1> is translated to

SELECTOR { @@@; } virtual css code which cannot be properly parsed. Previously such code used to be silently swallowed.
Comment 2 Marek Fukala 2010-04-12 12:05:15 UTC
fixed in web-main#61cd6b95816b
Comment 3 Marek Fukala 2010-04-12 13:59:02 UTC
still works bad if there's another inlined css code after the templating:

    <h1 style="#{x.style}"></h1>
    <div style="color: #aabbCC"/>
Comment 4 Marek Fukala 2010-04-12 14:13:35 UTC
fixed in web-main#c4754aedf20c
Comment 5 Quality Engineering 2010-04-13 17:33:55 UTC
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/61cd6b95816b
User: Marek Fukala <mfukala@netbeans.org>
Log: #183631 -  generated inline style is marked as an error
Comment 6 Jindrich Sedek 2010-05-04 10:18:30 UTC
verified.
NetBeans IDE Dev (Build 201005040200)