generated/830

sha256 2f6572c0f3d9c9155fd7822c7fd06937212e8a098a5a85f2650524f6477df703

Document

%TAG !TAG2! tag:yaml.org,2002:
---
&a2 {? 'a: b: c': !TAG2!null Null, ? &a1 'true': !TAG2!binary '2ACplg=='}

Corpus

grammarvalid, vouched for up to construct
representation/binaryopen from construct on: each parser's stance decides
featuresnode/anchor node/tag-handle presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-single presentation/tag-directive value/binary value/mapping value/non-string-key value/null
meaning (yaml-1.2-core){"a: b: c":null,"true":"2ACplg=="}

Answer groups

verdict split

go-yaml perlref yaml.v3

accept

libfyaml

accept, then the loader refuses past parse

yamlstar

refuse by the loader

value split

go-yaml

{"a: b: c":null,"true":"2ACplg=="}

yaml.v3

{"a: b: c":null,"true":"�\u0000��"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader unscored n/i value: the loader rejects the document past parse, where the verdict is given UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd8 in position 0: invalid continuation byte
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.