generated/2264/stream

sha256 272ffea9892c9b15fd5f7f6629a13413450586ce4b02af7fc6cf057abcc1d3ba

Document

%TAG !n-1! tag:yaml.org,2002:
---
# c1
n: !n-1!null NULL # c2
# c3
b: !n-1!binary "/wAIXQ36AGY=" # c4
---
|6-
     0

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/tag-handle presentation/block-indicator presentation/block-literal presentation/comment-above presentation/comment-inline presentation/document-marker presentation/multi-document presentation/plain presentation/quoted-double presentation/tag-directive value/binary value/mapping value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml perlref

accept

libfyaml yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value

go-yaml

{"b":"/wAIXQ36AGY=","n":null}
"0"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser not scored 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 stdin:9:1: error: block scalar with wrongly indented line after spaces only
yamlstar rejected, explained refuse by the loader not scored 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" Error: Unknown tag: tag:yaml.org,2002:binary
yaml.v3 rejected, explained refuse by the parser not scored refused indicator-counted-from-0: yaml.v3 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 yaml.v3: yaml: line 8: did not find expected <document start>
go-yaml accepted accept not scored same

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