generated/2744/stream

sha256 87ea5adcf7df4a1f4fc778035af557a9e5a1dee09ae1985f653fd744b4093853

Document

%YAML 1.1
---
'' # c1
...
NULL # c2

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/cr encoding/byte-order-mark presentation/comment-inline presentation/document-marker presentation/document-suffix presentation/multi-document presentation/plain presentation/quoted-single presentation/yaml-directive value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml

accept

perlref yaml.v3 yamlstar

refuse by the parser

value

go-yaml libfyaml

""
null

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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 bare-document-after-end: yaml.v3 requires a "---" before every document after the first, so a bare document after a "..." end marker rejects the stream yaml.v3: yaml: line 4: did not find expected <document start>
go-yaml accepted accept not scored same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.