generated/2370

sha256 190dd4cd654224edd4f9244c04a6d46da63f512bf24ae889b3a2134f156f245f

Document

%YAML 1.1
%TAG !x! tag:yaml.org,2002:
---
# c1
? 'base'
:
   &m1
   # c2
   ? 'b0'
   : -3
# c3
? 'item'
:
   # c4
   ? !x!merge <<
   :
      &m2
      # c5
      ? 'c0'
      : -5
   # c6
   ? ! 'd0'
   : -7
   # c7
   ? 'b0'
   : 99
# c8
? 'again'
: *m2

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/alias node/anchor node/tag-handle node/tag-non-specific presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-single presentation/tag-directive presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"again":{"c0":-5},"base":{"b0":-3},"item":{"b0":99,"c0":-5,"d0":-7}}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value

go-yaml libfyaml yaml.v3

{"again":{"c0":-5},"base":{"b0":-3},"item":{"b0":99,"c0":-5,"d0":-7}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
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:merge
yaml.v3 accepted accept ok same
go-yaml accepted accept ok same

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