sha256 01c234b3f9ceff7e7a26c101bca59e18d58c88e1b9112b8b714fb3083db91a6a
---
base: # c1
&m1
b0: 0 # c2
!<tag:yaml.org,2002:str> item: # c3
!<tag:yaml.org,2002:merge> <<: # c4
!<tag:yaml.org,2002:seq>
- # c5
c0: 0 # c6
c1: -2 # c7
- *m1 # c8
d0: 7 # c9
d1: 5 # c10
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/plain presentation/property-line presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":0},"item":{"b0":0,"c0":0,"c1":-2,"d0":7,"d1":5}} |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":0},"item":{"b0":0,"c0":0,"c1":-2,"d0":7,"d1":5}}libfyaml
{"base":{"b0":0},"item":{"\u003c\u003c":[{"c0":0,"c1":-2},{"b0":0}],"d0":7,"d1":5}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | different, explained | n/i | value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key | |
| yamlstar | rejected, explained refuse by the loader | rejected, explained | 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" value: 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, explained refuse by the parser | rejected, explained | refused | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document |
yaml.v3: yaml: line 8: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.