shape/indentation/a folded scalar whose content stands at column 0

sha256 c58b66a855fea79ba53da51eab430682a192e56cd34c8357284f5ea6f102887e

Document

--- >
line1
line2

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnone
meaning (yaml-1.2-core)"line1 line2\n"

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value

go-yaml libfyaml yamlstar

"line1 line2\n"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept ok n/i
yaml.v3 rejected, explained refuse by the parser rejected, explained refused block-scalar-at-column-0: a top-level block scalar without an indentation indicator may hold its content at column 0, as in spec example 9.5; yaml.v3 ends the scalar empty instead, then rejects the content as a second document
value: block-scalar-at-column-0: a top-level block scalar without an indentation indicator may hold its content at column 0, as in spec example 9.5; yaml.v3 ends the scalar empty instead, then rejects the content as a second document
yaml.v3: yaml: line 1: did not find expected <document start>
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.