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 157214 - Warning is shown against a valid YAML source
Summary: Warning is shown against a valid YAML source
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Pisl
: 162290 (view as bug list)
Depends on:
Reported: 2009-01-21 12:28 UTC by tkrd_oiax
Modified: 2012-11-08 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot 1 (23.42 KB, image/png)
2009-01-21 12:29 UTC, tkrd_oiax
Screenshot 2 (26.25 KB, image/png)
2009-01-21 12:30 UTC, tkrd_oiax

Note You need to log in before you can comment on or make changes to this bug.
Description tkrd_oiax 2009-01-21 12:28:25 UTC
Following YAML source code is valid (I believe).

<% %w(alpha beta gamma).each do |club| %>
<%= club %>1:
  club: <%= club %>
  name: One
<%= club %>2:
  club: <%= club %>
  name: Two
<% end %>

But the ide show a warning: Null we had this expected '<document start>',
but found org.jvyamlb.tokens.PositiondBlockMappingStartToken.

See screenshots that I will post later.
Comment 1 tkrd_oiax 2009-01-21 12:29:29 UTC
Created attachment 76080 [details]
Screenshot 1
Comment 2 tkrd_oiax 2009-01-21 12:30:29 UTC
Created attachment 76081 [details]
Screenshot 2
Comment 3 tkrd_oiax 2009-04-09 12:01:10 UTC
*** Issue 162290 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2009-05-22 15:07:36 UTC
Still valid.
Comment 5 Ondrej Brejla 2012-05-04 12:01:41 UTC
Ruby embedding support as is implemented now should be removed, since we have no official ruby support in NetBeans. All embedings (probably for PHP too) should be replaced by underscore, or something like don't break yaml structure.