shape/tag/a local tag on an empty value, with the mapping carrying on

sha256 d77d27eeccac7cd156128a709f2b3fa6ab79feac4ce303444d6e5a3162274a90

Document

a: !foo
b: 1
c: 2

Corpus

grammarvalid, vouched for up to construct
tag/localopen from construct on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value

go-yaml libfyaml yaml.v3

{"a":"","b":1,"c":2}

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: !foo
yaml.v3 accepted accept not scored same
go-yaml accepted accept not scored same

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