sha256 0405a847d8c4efe8933a5cbc858d37552754aa8d9df76d9d2951b14fb3c5ee0d
!<!foo> # c1 n: !<tag:yaml.org,2002:null> Null # c2 !<tag:yaml.org,2002:str> b: !<tag:yaml.org,2002:binary> BOrG
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| representation/binary | open from construct on: each parser's stance decides |
| features | encoding/byte-order-mark node/tag-verbatim presentation/comment-above presentation/plain value/binary value/mapping value/non-string-key value/null |
| meaning (yaml-1.2-core) | {"b":"BOrG","n":null} |
go-yaml yaml.v3
accept
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
refuse by the parser
go-yaml
{"b":"BOrG","n":null}yaml.v3
{"b":"\u0004��","n":null}
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 | unscored | n/i | value: the loader rejects the document past parse, where the verdict is given | UnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 1: invalid continuation byte |
| yamlstar | rejected, explained refuse by the parser | rejected, explained | 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 value: 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 | accepted accept | different, explained | same | value: binary-as-bytes: yaml.v3 decodes !!binary into its bytes, which the runner writes as a string, where the corpus states the base64 text: !!binary "Iwc=" comes back as "#\u0007" | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.