sha256 2ed595c949023f3639486988b7ff767b0da76273370c9f9cfac1ea51e0ff3a41
%YAML 1.1
---
&a3
# c1
- &a1
# c2
- *a1
# c3
-
# c4
!!merge <<: &a2
# c5
no: 01
# c6
?
# c7
- |-
no
: |-
dup
# c8
?
# c9
- |-
no
: |-
dup2
# c10
-1_0: *a1
# c11
no: !!set
# c12
?
!!set
# c13
"\x31": 07
:
# c14
*a1 : |-
aliased
# c15
- *a2
| 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 node/tag-shorthand presentation/block-literal presentation/comment-above presentation/document-marker presentation/escape-hex presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence value/string |
| meaning (none stated) | |
go-yaml yaml.v3 yamlstar
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref
accept
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'sequence' | |
| 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: tag:yaml.org,2002:merge |
| 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: invalid map key: map[string]interface {}{"1":7} |
| 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 | null was used where mapping is expected |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.