shape/tag/a mapping tag over a written null

sha256 7bdbb3c54508653809edfaba42fc7f3ad2232c9a73005a4eea2194d966ecaa1d

Document

k: !!map null

Corpus

grammarvalid, vouched for up to construct
tag/kind-mismatchopen from construct on: each parser's stance decides
tag/secondaryaccept from compose on, 6.8.2.2: the secondary handle is declared by default as tag:yaml.org,2002:
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml yamlstar

refuse by the loader

libfyaml perlref yaml.v3

accept

value split

libfyaml

{"k":null}

yaml.v3

{"k":"null"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
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:map
yaml.v3 accepted accept not scored same
go-yaml rejected, as declared refuse by the loader not scored refused tag/kind-mismatch: go-yaml refuses this on purpose [1:4] !!map does not support this kind of node

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