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.
Build: NetBeans IDE Dev (Build 200710120000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-ea-b02 OS: SunOS, 5.10, x86 User comments: use this code in CSS style: --------------------------- input[type="text"]{ } -------------------------- invoke check CSS action Exception is thrown, but code is correct STACKTRACE: (first 10 lines) org.w3c.css.sac.CSSException at org.w3c.flute.parser.selectors.ConditionFactoryImpl.createAttributeCondition(ConditionFactoryImpl.java:109) at org.w3c.flute.parser.Parser.attrib(Parser.java:1938) at org.w3c.flute.parser.Parser.simple_selector(Parser.java:1601) at org.w3c.flute.parser.Parser.selector(Parser.java:1519) at org.w3c.flute.parser.Parser.selectorList(Parser.java:1480) at org.w3c.flute.parser.Parser.styleRule(Parser.java:1386) at org.w3c.flute.parser.Parser.afterImportDeclaration(Parser.java:561) at org.w3c.flute.parser.Parser.parserUnit(Parser.java:498) at org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:107) at org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:119)
Looks like flute issue :-|
read related comments in issue #69708
I have implemented the option #3 described in the issue #69708 - a message about internal flute error is written into the css check output window + the exception is logged with INFO level. I am leaving the issue opened so we can track the flute problem somehow. Checking in CheckStyleAction.java; /cvs/web/css/src/org/netbeans/modules/css/actions/CheckStyleAction.java,v <-- CheckStyleAction.java new revision: 1.3; previous revision: 1.2 done
the main problem fixed in 6.0, removing fix-in-60 status whiteboard
The issue is fixed completely. The check action works fine on the mentioned example now.
verified. NetBeans IDE 6.1 Beta (Build 200803031027)