sha256 77f5d1184c6492ed4a6c9475da55df476899621bc770dbb1075bd7980dc30548
%%YAML 1.2 --- &a1 # c1 '': !foo '' # c2 -14: .inf # c3 ? !foo # c4 - >6- #r l0A2_.k3- # c5 - -45 : !!null null # c6 'γΆπγ': True
| 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 perlref yaml.v3 yamlstar
refuse by the parser
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | lone-cr-break: the parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | |
| libfyaml | rejected refuse by the parser | not scored | n/i | stdin:1:2: warning: Unsupported directive | |
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | Error: parse: Parser finished before end of input |
| 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: could not find expected 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 | [7:6] JSON has no number for .inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.