sha256 dae97d77a755d692e9b58463ac487d3d926d639306e465125bcb86291372c1fa
%YAML 1.2 --- base: # c1 &m1 b0: +1 # c2 b1: -1 # c3 item: # c4 <<: *m1 # c5 d0: -5 # c6 d1: +2 # c7 base: dup # c8
| 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 | encoding/byte-order-mark node/alias node/anchor presentation/comment-inline presentation/document-marker presentation/number-signed presentation/plain presentation/property-line presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/string |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
libfyaml
{"base":"dup","item":{"\u003c\u003c":{"b0":1,"b1":-1},"d0":-5,"d1":2}}yamlstar
{"base":"dup","item":{"b0":1,"b1":-1,"d0":-5,"d1":2}}
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 | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, settled refuse by the parser | 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: found incompatible YAML document |
| 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 | [11:1] mapping key "base" already defined at [3:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.