sha256 c1a88da3d9432663bfd8bbfdd864b06502bcbe21d9847da57c9db1af868078d1
--- &a4 # c1 - !!null null # c2 # c3 - FALSE # c4 # c5 - # c6 # c7 ? "a\n\nb" : .inf # c8 # c9 - &a3 # c10 # c11 - !!float -0.12248172502928298 # c12 # c13 - # c14 # c15 ? << : !!seq &a2 # c16 # c17 - # c18 # c19 ? "merged3" : -3 # c20 # c21 - # c22 # c23 ? "merged3" : 0 # c24 # c25 ? # c26 ? "8T" : 84 # c27 : |6- true # c28 ? &a1 "̂" : FALSE # c29
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| json/not-representable | open from construct on: each parser's stance decides |
| representation/float-non-finite | open from construct on: each parser's stance decides |
| features | break/cr encoding/byte-order-mark node/anchor node/tag-shorthand presentation/block-indicator presentation/block-literal presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/tag-before-anchor value/bool value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/null value/sequence value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref 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 | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'mapping' | |
| 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 loader | not scored | refused | collection-key: yaml.v3 decodes a mapping into a Go map, and a Go map cannot take a sequence or a mapping as a key: "? [1, 2]" rejects the document | yaml.v3: yaml: invalid map key: map[string]interface {}{"8T":84} |
| go-yaml | rejected, explained refuse by the loader | not scored | refused | json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged | [11:9] JSON has no number for .inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.