sha256 3cdfb9cd6bdb1cc5397e3be8d40b1c82397399c15fe0b1d97773b3425995faf3
%YAML 1.2 --- ? 'base' : &m1 ? 'b0' : 0 ? 'b1' : 9 ? 'b2' : -4 ? 'item' : ? !!merge << : !!seq - ? 'c0' : 8 - *m1 ? 'd0' : 9 ? 'b0' : 99 ... %YAML 1.2 --- !!pairs &a1 []
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/alias node/anchor node/tag-shorthand presentation/document-marker presentation/document-suffix presentation/explicit-key presentation/flow-collection presentation/multi-document presentation/plain presentation/quoted-single presentation/tag-before-anchor presentation/yaml-directive value/empty-collection value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (none stated) | |
go-yaml libfyaml
accept
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml
{"base":{"b0":0,"b1":9,"b2":-4},"item":{"b0":99,"b1":9,"b2":-4,"c0":8,"d0":9}}
[]libfyaml
{"base":{"b0":0,"b1":9,"b2":-4},"item":{"\u003c\u003c":[{"c0":8},{"b0":0,"b1":9,"b2":-4}],"b0":99,"d0":9}}
[]
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 | accepted accept | not scored | n/i | ||
| 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 | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document | yaml.v3: yaml: found incompatible YAML document |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.