sha256 02c730b36521ca69bc2941c79aa45ef8d6733fb9672a7d85918f0e12998c889b
%YAML 1.1 %TAG !n-1! tag:yaml.org,2002: --- !n-1!binary "sw==" # c1
| 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 | break/cr encoding/byte-order-mark node/tag-handle presentation/comment-inline presentation/document-marker presentation/quoted-double presentation/tag-directive presentation/yaml-directive value/binary |
| meaning (yaml-1.2-core) | "sw==" |
go-yaml perlref yaml.v3
accept
libfyaml
accept, then the loader refuses past parse
yamlstar
refuse by the loader
go-yaml
"sw=="
yaml.v3
"�"
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| 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 0xb3 in position 0: invalid start byte |
| 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:binary |
| 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.