sha256 3e4193e7d636f2d5ca1a94377f0d8a7589c83ab52624a0926ba096f074d88289
%TAG !x! tag:yaml.org,2002:
---
!
# c1
- &a1 -387
# c2
- *a1
# c3
- 42
# c4
- &a3
# c5
!x!merge <<: !x!map
# c6
merged3: 7
# c7
TRUE: &a2 TRUE
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-handle node/tag-non-specific presentation/comment-above presentation/document-marker presentation/plain presentation/tab-separation presentation/tag-directive value/bool value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | [-387,-387,42,{"merged3":7,"true":true}] |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
[-387,-387,42,{"merged3":7,"true":true}]libfyaml
[-387,-387,42,{"\u003c\u003c":{"merged3":7},"true":true}]
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 7: 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.