generated/2435

sha256 7ec384faf3f4a66a75dad5a87362ec49a9455d3770befae6e9b05a97828e932f

Document

%TAG !TAG2! tag:yaml.org,2002:
---
? n
: !TAG2!null NULL # c1
? b
: !TAG2!binary "BQIGLw==" # c2

Corpus

grammarvalid, vouched for up to construct
representation/binaryopen from construct on: each parser's stance decides
featuresnode/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-double presentation/tag-directive value/binary value/mapping value/null
meaning (yaml-1.2-core){"b":"BQIGLw==","n":null}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

{"b":"BQIGLw==","n":null}

libfyaml yaml.v3

{"b":"\u0005\u0002\u0006/","n":null}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: binary-as-bytes: the Python binding decodes !!binary into its bytes, which the runner writes as a string, where the corpus states the base64 text: !!binary "Aw==" comes back as "\u0003"
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: tag:yaml.org,2002:binary
yaml.v3 accepted accept different, explained same value: binary-as-bytes: yaml.v3 decodes !!binary into its bytes, which the runner writes as a string, where the corpus states the base64 text: !!binary "Iwc=" comes back as "#\u0007"
go-yaml accepted accept ok same

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