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 120434 - RHTML gets incorrectly marked as invalid syntax
Summary: RHTML gets incorrectly marked as invalid syntax
Status: RESOLVED DUPLICATE of bug 115662
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 05:56 UTC by raf1hh
Modified: 2007-10-31 01:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample of syntax error issue (64.55 KB, application/octet-stream)
2007-10-30 05:59 UTC, raf1hh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raf1hh 2007-10-30 05:56:00 UTC
The following code snippets get highlighted as having invalid syntax:

<div id="ajax_errors" style="display:none;color:red;">
  There was an error while processing your request.
</div>

or in this snippet lines 1,5,6,7,8,9 ar marked as having syntax errors:

<td colspan="6" style="color:#000000;">
  <% form_remote_tag(:html => {:name => "form_customer_info",:id => "form_customer_info"} , :url =>{:action =>
"update_customer_info"}) do %>
  <input type="hidden" name="customer_id" value="<%= @customer.id %>" />
  <input type="hidden" name="customer_marketing_sequence_id" value="<%= @customer.customer_marketing_sequences[0].id %>" />
  <div style="border:solid 1px #46561E;width:100%;"> <!-- Outer Box -->
  <div style="border-bottom:solid 1px #46561E;background-color:#85A0A0;"> <!-- header box -->
  	<div style="float:left;"><img src="<%= @customer.face_image %>" style="float:left;padding:2px;" /></div>
    <div style="float:left;">
    <h3 style="width:100%;"><%= h(@customer.full_name_with_salutation) %></h3>


This has been happening for a while and it still happens in build 492.
Comment 1 raf1hh 2007-10-30 05:59:49 UTC
Created attachment 51968 [details]
sample of syntax error issue
Comment 2 Torbjorn Norbye 2007-10-31 01:46:00 UTC
I think Marek is working on this.

Marek, some of the parse errors listed on the CSS here do -not- involve Ruby embedding. Is the parser not accepting a
trailing ; in inline CSS or is something else going on? In any case, one more codefragment to test with.

*** This issue has been marked as a duplicate of 115662 ***