sha256 41704571e2576b5fbf64bbf3731f169ae05383647cc58ab72e84174557a3e40a
%YAML 1.1 --- " ": .inf " O ": Null ", a": &a2 !foo W: Null &a1 "False": !!int -8305523226018887325140101044709 W0kRX6_C.: *a1 --- &a1 |- a: b: c
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/alias node/anchor node/tag-local node/tag-shorthand presentation/block-literal presentation/chomp-padded presentation/document-marker presentation/multi-document presentation/plain presentation/quoted-double presentation/yaml-directive value/big-int value/float value/float-special value/mapping value/non-string-key value/null value/string |
| meaning (none stated) | |
go-yaml
accept
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
refuse by the parser
yaml.v3
refuse by the loader
go-yaml
"a: b: c"
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 | ValueError: Failed to parse YAML/JSON | |
| 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 | int-past-int64: an integer past int64 and uint64 resolves to a float, so a !!int tag on it rejects the document: !!int 709020151362207020812 | yaml.v3: yaml: cannot decode !!float `-8305523226018887325140101044709` as a !!int |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.