sha256 3232dd1f763887f3ee124f8a7399862ec01ce3eba6c3f65c7f9fe82a92850cf2
%YAML 1.2
---
! {o: &m3 !<tag:yaml.org,2002:omap> [o0: 2, o1: -2], again: *m3, p: !<tag:yaml.org,2002:pairs> [p0: 1, p0: 2], o: dup}
| 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/cr encoding/byte-order-mark node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/yaml-directive value/int value/mapping value/sequence value/string |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
libfyaml
{"again":{"o0":2},"o":"dup","p":[{"p0":1},{"p0":2}]}yamlstar
{"again":[{"o0":2},{"o1":-2}],"o":"dup","p":[{"p0":1},{"p0":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 | [3:112] mapping key "o" already defined at [3:4] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.