generated/2789/insert an indicator/15

sha256 061d208313c686b8f1bb6515a754bc3e4f93f65bcd916c65a7b92731666ac74f

Document

!<tag:yaml.org,2002:pairs> &a1
|
- ! {} # c1

Corpus

grammarvalid, vouched for up to parse
encoding/bomopen from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml

accept

perlref yaml.v3 yamlstar

refuse by the parser

value

go-yaml libfyaml

"- ! {} # c1\n"

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 block-scalar-at-column-0: a top-level block scalar without an indentation indicator may hold its content at column 0, as in spec example 9.5; yaml.v3 ends the scalar empty instead, then rejects the content as a second document yaml.v3: yaml: line 2: 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.