sha256 b737a8eff40769552e3b0aa2eda0f4380224fe0a54559067016af464d2192a83
%YAML 1.2 --- "\n\n" # c1 --- # c2 base: # c3 &m1 # c4 b0: -1 # c5 # c6 b1: -9 # c7 # c8 item: # c9 # c10 <<: # c11 # c12 - *m1 # c13 # c14 - # c15 ! # c16 c0: !!int -2 # c17 # c18 c1: -8 # c19 # c20 !foo d0: -9 # c21 # c22 b0: 99 # c23
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/alias node/anchor node/tag-local node/tag-non-specific node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/multi-document presentation/plain presentation/property-line presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml libfyaml
accept
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml libfyaml
"\n\n"
{"base":{"b0":-1,"b1":-9},"item":{"\u003c\u003c":[{"b0":-1,"b1":-9},{"c0":-2,"c1":-8}],"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.