generated/1964

sha256 037c36b57d1c7adb4ca44b6931e3991f791197acc8e09b6ff7d5876f11e37ea1

Document

%TAG !TAG2! tag:yaml.org,2002:
---
# c1
"base":
 &m1
 # c2
 "b0": 04
# c3
"item":
 !TAG2!map
 # c4
 &k1 <<: *m1
 # c5
 "d0": -1
 # c6
 "b0": !TAG2!int 099

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker 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){"base":{"b0":4},"item":{"\u003c\u003c":{"b0":4},"b0":99,"d0":-1}}

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the loader

value split

go-yaml libfyaml

{"base":{"b0":4},"item":{"\u003c\u003c":{"b0":4},"b0":99,"d0":-1}}

yamlstar

{"base":{"b0":4},"item":{"b0":99,"d0":-1}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept different, explained n/i value: merge-key-applied: the loader 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
yaml.v3 rejected, explained refuse by the loader rejected, explained refused int-leading-zero: yaml.v3 reads "09" and "099" as octal, fails, and resolves them to a float, so a !!int tag on them rejects the document; the core schema reads them as 9 and 99
value: int-leading-zero: yaml.v3 reads "09" and "099" as octal, fails, and resolves them to a float, so a !!int tag on them rejects the document; the core schema reads them as 9 and 99
yaml.v3: yaml: cannot decode !!float `099` as a !!int
go-yaml accepted accept ok same

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