sha256 00d0f995c66d7446131dfdaae68dce9f483e525470c841e9fadb665ed32e6a79
%YAML1 .1
---
? "trailing\ "
: # c1
- # c2
- # c3
?
? "a:\ b:\ c"
: 0 # c4
: # c5
| grammar | valid, vouched for up to parse |
| directive/reserved | accept from compose on, 6.8: a directive a processor does not recognize is ignored with a warning, not refused |
| features | none |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yaml.v3
refuse by the parser
yamlstar
{"trailing ":[[{"{\"a: b: c\" 0}":null}]]}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'mapping' | |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | reserved-directive-refused: yaml.v3 rejects a directive other than %YAML and %TAG, and a directive name with a character other than a letter, a digit, '-' or '_', where 6.8 ignores a reserved directive with a warning | yaml.v3: yaml: found unknown directive name |
| go-yaml | rejected after the parse refuse by the loader | not scored | refused | the loader rejects a document the corpus vouches for only up to parse | [9:5] a mapping cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.