-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[YAML] spec example 5.3 is not parsed #8076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@indeyets thanks for reporting this error. You are right about Yaml component unable to parse that example. The reason is that currently the component doesn't support the entire YAML spec, but only the subset of features needed to define configuration files. Considering all this, I think we should close this issue as won't fix. |
@javiereguiluz But maybe we can improve the error message. For example, we could provide a message like "The mapping key indicator character is not supported." What do you think? |
@xabbuh agree! Could you please open an issue to display (if possible) errors and warnings not only for this but whenever the developer tries to use any YAML feature not supported by the Yaml component? Thanks! |
@javiereguiluz see #11911 |
http://www.yaml.org/spec/1.2/spec.html#id2772312
Code above (taken from spec) results in
Symfony\Component\Yaml\Exception\ParseException
with messageUnable to parse at line 6 (near "? sky").
The text was updated successfully, but these errors were encountered: