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.
Created attachment 137318 [details] Screenshot of Editor and Action Items Build 201307162300 shows "Unexpected token SASS_VAR found" where 7.3.1 doesn't show anything. Looks like it cannot be turned off from Hints. The file was generated via apigen and looks to be ok but not sure? Screenshot showing Action Items and the editor is attached.
I believe this is coming from CSS, reassigning. I think $ character is not allowed for ID, but maybe apigen replaces it with something
Reproducible, ApiGen uses for in-page navigation: <a href="#$file" class="anchor">#</a> <tr data-order="file" id="$file"> HTML5 validator from w3c shows the page as correct Product Version: NetBeans IDE Dev (Build 201307162300) Updates: Updates available Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Basically the same issue as reported in bug 216489 - Attribute 'id' shows an error with forward slash in it.The set of characters allowed in the html id attribute value is not the same as characters allowed in css id selector. They needs to be escaped when sent to the css parser. *** This bug has been marked as a duplicate of bug 216489 ***
Note that forward slash issue (bug 216489) has been present for a while, where this issue was not present on 7.3.1 but is present on the current dev build.
Created attachment 137325 [details] Screenshot showing Files window of 7.3.1 and 7.4 side by side
(In reply to comment #4) > Note that forward slash issue (bug 216489) has been present for a while, where > this issue was not present on 7.3.1 but is present on the current dev build. Actually, looks like the same is shown as an error on 7.3.1 as well. What is different between 7.3.1 and Build 201307162300 is error mark on the Files window. 7.3.1 shows the error on Editor window but doesn't mark those files as having and error on Files window. Attached screenshot of two versions running side by side above.
You are right - still I believe it is the same issue. I've changed the css parser recently (to support the SASS/LESS syntax as well) which caused the issue to appear. Do not worry, I'll verify on both samples, that's also why I put an extra notice to the original issue. I've started already, will be fixed tomorrow.
> different between 7.3.1 and Build 201307162300 is error mark on the Files > window. 7.3.1 shows the error on Editor window but doesn't mark those files as > having and error on Files window. Attached screenshot of two versions running Error badging has been enabled for html files.