generated/1855

sha256 29c2456ecad83b571d06139458565fcdc4bbfeb9aca64018437f59f91c9d3336

Document

# c1
!!merge <<: &a1 # c2
    # c3
    - # c4
        # c5
        '007': 7 # c6
    # c7
    - # c8
        # c9
        '007': -3 # c10
# c11
'007': !!binary 'BwD0Sz4AJQ/8ACUD' # c12

Corpus

grammarvalid, vouched for up to construct
representation/binaryopen from construct on: each parser's stance decides
featuresbreak/crlf node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/plain presentation/quoted-single value/binary value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"007":"BwD0Sz4AJQ/8ACUD"}

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

{"007":"BwD0Sz4AJQ/8ACUD"}

yaml.v3

{"007":"\u0007\u0000�K\u003e\u0000%\u000f�\u0000%\u0003"}

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 0xf4 in position 2: 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:merge
yaml.v3 accepted accept different, explained same value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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