generated/2428

sha256 c8c4531ea7a4ad78bd718a129c1c1de40d95464ec7acea5433987b4b1d8d775d

Document

---
!<!foo>	>5-
    0x_1F

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/tag-verbatim presentation/block-folded presentation/block-indicator presentation/document-marker presentation/tab-separation value/string
meaning (yaml-1.2-core)"0x_1F"

Answer groups

verdict split

go-yaml perlref

accept

libfyaml yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value

go-yaml

"0x_1F"

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: block scalar with wrongly indented line after spaces only
yamlstar rejected, explained refuse by the loader rejected, explained n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
Error: Unknown tag: !foo
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 2: 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.