hi
i happened to edit a yaml file manually. after doing so it didn t load
anymore - parse error!
i think this should not happen. the parser /must/ become a bit more robust.
the problem: the parser handles “\n” and “\r\n” differently. a windos-
specific problem?
See following irb session:
the last line loads (due to a space added at index 8) but is completely
inacceptable.
annother question:
why does to_yaml print a space after a single - (dash)? ok - not against
yaml syntax rules.
i have no real evidence yet,
but i believe that the parser relies on this in some special cases (as seen
in the irb output).