sha256 6dda94c6e5f6c94ea53eeae47884e4d6798a7b60485d9d6303c42cf7644d9b83
---
# c1
!foo "base": &m1 {"b0": -2, "b1": 0x3, "b2": 0x3}
# c2
!foo "base": {<<: *m1, !foo "d0": -3, ! "d1": 0x0}
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| key/duplicate | reject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-local node/tag-non-specific presentation/comment-above presentation/document-marker presentation/flow-collection presentation/number-hex presentation/plain presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key |
| meaning (none stated) | |
go-yaml yaml.v3 yamlstar
refuse by the loader
libfyaml perlref
accept
libfyaml
{"base":{"\u003c\u003c":{"b0":-2,"b1":3,"b2":3},"d0":-3,"d1":0}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| 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 | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | yaml.v3: yaml: unmarshal errors: |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | [5:1] mapping key "base" already defined at [3:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.