Possible YAML parsing error
---------------------------
Key: JRUBY-3327
URL: http://jira.codehaus.org/browse/JRUBY-3327
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.6
Reporter: Logan Barnett
As a disclaimer here, I'm not sure if this is 100% legal YAML. However, the
error message is a bit cryptic (no line numbers for the offending line, etc).
Using the following YAML doc:
{noformat}
- foo
bar: bazz
{noformat}
{noformat}
YAML.load_documents("- foo\n bar: bazz") {|y| puts y.inspect}
{noformat}
MRI:
{noformat}
[{"foo bar"=>"bazz"}]
{noformat}
JRuby:
{noformat}
ArgumentError: syntax error:ScannerException null we had this mapping values
are not allowed here
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email