generated/1759

sha256 35b73a826302e1d598e62ce6b2370f96358314f1426545f8dc2d1ded94322a99

Document

%TAG !x! tag:yaml.org,2002:
---
!foo "\u0062\u0061\u0073\u0065": # c1
  &m1
  "\u0062\u0030": 0x4 # c2
"\u0069\u0074\u0065\u006D": # c3
  !x!merge <<: # c4
    &m2
    "\u0063\u0030": 0x3 # c5
"\u0061\u0067\u0061\u0069\u006E": *m2 # c6

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-handle node/tag-local presentation/comment-inline presentation/document-marker presentation/escape-unicode presentation/number-hex presentation/plain presentation/property-line presentation/quoted-double presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"again":{"c0":3},"base":{"b0":4},"item":{"c0":3}}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml yaml.v3

{"again":{"c0":3},"base":{"b0":4},"item":{"c0":3}}

libfyaml

{"again":{"c0":3},"base":{"b0":4},"item":{"\u003c\u003c":{"c0":3}}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key
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: !foo
yaml.v3 accepted accept ok different
document 0

written

again:
    c0: 3
base:
    b0: 4
item:
    c0: 3

read back

{"again":{"c0":3},"base":{"b0":4},"item":{"c0":3}}
go-yaml accepted accept ok same

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