sha256 65b09d5a8f13abe2e38585f8f6648b147986a5a6e83ca2dcf653db1181f803b8
--- !foo # c1 n: !!null NULL # c2 t: !!timestamp "1955-08-23 21:01:00Z" # c3 b: !!binary "UmU="
| grammar | valid, vouched for up to construct |
| representation/binary | open from construct on: each parser's stance decides |
| representation/timestamp | open from construct on: each parser's stance decides |
| features | break/crlf node/tag-local node/tag-shorthand presentation/comment-above presentation/document-marker presentation/plain presentation/quoted-double presentation/tab-separation presentation/time-spaced value/binary value/mapping value/null value/timestamp |
| meaning (yaml-1.2-core) | {"b":"UmU=","n":null,"t":"1955-08-23T21:01:00Z"} |
go-yaml libfyaml perlref
accept
yaml.v3 yamlstar
refuse by the loader
go-yaml
{"b":"UmU=","n":null,"t":"1955-08-23T21:01:00Z"}libfyaml
{"b":"Re","n":null,"t":"1955-08-23 21:01:00Z"}
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: timestamp-as-text: the Python binding returns a !!timestamp as the text written, where the corpus states it in RFC 3339 form: "1900-10-14" for "1900-10-14T00:00:00Z" | |
| 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:timestamp |
| yaml.v3 | rejected, explained refuse by the loader | rejected, explained | refused | timestamp-space-and-zone: yaml.v3 reads a timestamp with a space before the time only without a time zone, so a !!timestamp tag on "2001-12-14 21:59:43.10 -5" or "1913-07-08 02:01:00.19Z", both of the 1.1 timestamp type, rejects the document value: timestamp-space-and-zone: yaml.v3 reads a timestamp with a space before the time only without a time zone, so a !!timestamp tag on "2001-12-14 21:59:43.10 -5" or "1913-07-08 02:01:00.19Z", both of the 1.1 timestamp type, rejects the document |
yaml.v3: yaml: cannot decode !!str `1955-08-23 21:01:00Z` as a !!timestamp |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.