sha256 fe7cc4e8a78ad7a89515a3cc2a68b523de82edfd449cc50676fd5a223e8152ce
%YAML 1.1
---
&a3
# c1
- &a1
# c2
- *a1
# c3
-
# c4
!!merge <<: &a2
# c5
no: 01
# c6
-1_0: *a1
# c7
no: !!set
# c8
?
!!set
# c9
"\x31": 07
:
# c10
*a1 : |-
aliased
# c11
?
!!set
# c12
"\x31": 07
: |-
dup
# c13
- *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: 'mapping' | |
| 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: 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 | a mapping entry holds one value, and this document reads as two |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.