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 225409 - YAML parser false syntax error
Summary: YAML parser false syntax error
Status: RESOLVED DUPLICATE of bug 232192
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 11:57 UTC by Ninj
Modified: 2013-07-03 09:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (83.87 KB, text/plain)
2013-01-28 11:57 UTC, Ninj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ninj 2013-01-28 11:57:37 UTC
Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02

I'm working on a Symfony2 project.
This YAML file is correct:

(...)
services:
    bt.twig.common_bt_extension:
        class: %bt.twig.common_bt_extension.class%
        tags:
            - { name: twig.extension }
        arguments: [@service_container]
 
However, the editor reports an error on the line "- { name: twig.extension }". It says "ScannerException while scanning for the next token we had this found character @(64) that cannot start any token"
Comment 1 Ninj 2013-01-28 11:57:43 UTC
Created attachment 130720 [details]
IDE log
Comment 2 fraifrai 2013-05-14 11:48:35 UTC
Adding double-quotes solves the problem in Netbeans. But They shouldn't be needed and the parser must be corrected.
Comment 3 Ondrej Brejla 2013-07-02 14:05:13 UTC

*** This bug has been marked as a duplicate of bug 212063 ***
Comment 4 Ondrej Brejla 2013-07-03 09:46:25 UTC

*** This bug has been marked as a duplicate of bug 232192 ***