generated/928

sha256 f23bef914888c904a432828d90254a95bcb2ad73b52d7d62633a42eccecee4c7

Document

---
|2-
 #_##l

Corpus

grammarvalid, vouched for up to construct
tagsnone
featurespresentation/block-indicator presentation/block-literal presentation/document-marker value/string
meaning (yaml-1.2-core)"#_##l"

Answer groups

verdict split

go-yaml perlref yaml.v3 yamlstar

accept

libfyaml

refuse by the parser

value split

go-yaml yamlstar

"#_##l"

yaml.v3

""

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser rejected, explained n/i indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it
value: indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it
stdin:3:1: error: empty block scalar with wrongly indented comment line after spaces only
yamlstar accepted accept ok n/i
yaml.v3 accepted accept different, explained same value: indicator-counted-from-0-value: yaml.v3 counts a top-level block scalar's indentation indicator from column 0, one space deeper than n+m with the root's n = -1. The content loses a leading space, "|3-" over a line of 3 spaces gives "" for " ", and a line at the spec's indentation falls outside the scalar: "|2-" over " #a" gives "" for "#a"
go-yaml accepted accept ok same

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