sha256 d41a5b7d6fc553585ba0f179a74ff031773d35f675ac5ce6fd8de3381a7f736f
%TAG !TAG2! tag:yaml.org,2002:
---
{!foo base: &m1 {b0: 00, b1: -9, b2: 00}, item: !foo {!TAG2!merge <<: *m1, d0: 04, :0: 099}}
| grammar | valid, vouched for up to parse |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":0,"b1":-9,"b2":0},"item":{":0":99,"b0":0,"b1":-9,"b2":0,"d0":4}}libfyaml
{"base":{"b0":0,"b1":-9,"b2":0},"item":{":0":99,"\u003c\u003c":{"b0":0,"b1":-9,"b2":0},"d0":4}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | rejected after the parse refuse by the loader | not scored | n/i | the loader rejects a document the corpus vouches for only up to parse | Error: Unknown tag: !foo |
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | flow-entry-starting-with-colon: yaml.v3 rejects a flow entry that starts with ':', both an empty key, "[:]", and a plain scalar such as "[:a]", which ns-plain-first takes in flow context when a safe character follows the ':' | yaml.v3: yaml: line 2: did not find expected node content |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.