Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 25945
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: miyamuko [...] mtb.biglobe.ne.jp
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.62
Fixed in: (no value)



Subject: the "-" character as part of the indentation.
YAML.pm 0.62 cannot parse block with reading "-". YAML 1.1 spec (http://yaml.org/spec/cvs/current.html#id931901) say: Show quoted text
> People read the "-" character as part of the indentation. > Hence, block sequence entries require one less space of
indentation, ... --- YAML Version 0.62 Begin logging at Fri Mar 30 18:16:24 2007 Welcome to the YAML Test Shell. Type ':help' for more information. ysh > --- Show quoted text
yaml> block: yaml> - seq yaml> ...
YAML Load Failed: YAML Error: Invalid element in map Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT Line: 3 Document: 1
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/80 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Fixed in 1.25_001