sha256 acb4eba4f2e038056c5b8180d1967ef26e773b28c76e582b0487b44601c5a645
!<!foo>
# c1
n: !<tag:yaml.org,2002:null> Null
# c2
!<tag:yaml.org,2002:str> b: !<tag:yaml.org,2002:binary> BOrG
# c3
?
# c4
- |-
n
: |-
dup
# c5
?
# c6
- |-
n
: |-
dup2
| 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/tag-verbatim presentation/block-literal presentation/chomp-padded presentation/comment-above presentation/explicit-key presentation/key-below-the-indicator presentation/plain value/binary value/mapping value/non-string-key value/null value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
refuse by the parser
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| libfyaml | accepted refuse by the loader | not scored | n/i | UnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 1: invalid continuation byte | |
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | Error: parse: Parser finished before end of input |
| 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 | [9:7] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.