sha256 6b7ff96a2e6b06f680bb9de36978301c28a57288272ed59ffc070e6be5fd241e
%YAML 1.1 --- # c1 !foo "b": !!binary "AHT\/B6EUAAL\/AAJ0" # c2 --- >- AIw89##kf#. --- &a1 [] # c3
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/anchor node/tag-local node/tag-shorthand presentation/block-folded presentation/comment-above presentation/comment-inline presentation/document-marker presentation/escape-named presentation/flow-collection presentation/multi-document presentation/quoted-double presentation/yaml-directive value/binary value/empty-collection value/mapping value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml
accept
libfyaml
accept, then the loader refuses past parse
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml
{"b":"AHT/B6EUAAL/AAJ0"}
"AIw89##kf#."
[]
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 | UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 2: invalid start byte | |
| 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 | escape-slash: yaml.v3 rejects the escape "\/", which YAML 1.2 adds as [53] ns-esc-slash: "a\/b" rejects the document | yaml.v3: yaml: line 4: found unknown escape character |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.