generated/1304

sha256 d6c1a80b9e08c1b79f9f7e23400ded2c2668623526e4bd4fe119e2a31a736fb9

Document

>4-
   # I#

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf presentation/block-folded presentation/block-indicator value/string
meaning (yaml-1.2-core)"# I#"

Answer groups

verdict split

go-yaml perlref yaml.v3 yamlstar

accept

libfyaml

refuse by the parser

value split

go-yaml yamlstar

"# I#"

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:2: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.