Menu

#1 Failure parsing nested implicit mappings

open
nobody
None
5
2008-05-30
2008-05-30
No

The following line, generated by PyYAML, is not parsed correctly:

foo: {bar: 123}

Node.Parse(str).Write() results in the following string:

'? foo\n: \n'

This is clearly incorrect.

'{bar: 123}' is parsed correctly on its own.

The following also do not parse in yaml-net-parser, but are handled by PyYAML:

'? foo\n: {bar: 123}'
'{foo: {bar: 123} }'

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.