generated/1744/stream

sha256 5ac4bb5d32edfccd543e3b507c39c529a9786e31af28f2478f05ca10c42c05f8

Document

%YAML 1.2
---
?	!foo base
:
     &m4
     ?	o9
     :	-4
?	o
:
     !!omap
     -
          ?	o0
          :	-5
     -
          ?	o8
          :	*m4
---
"\u0007Ò"

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/alias node/anchor node/tag-local node/tag-shorthand presentation/document-marker presentation/explicit-key presentation/multi-document presentation/plain presentation/property-line presentation/quoted-double presentation/tab-separation presentation/yaml-directive value/int value/mapping value/non-string-key value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml

accept

libfyaml perlref yaml.v3 yamlstar

refuse by the parser

value

go-yaml

{"base":{"o9":-4},"o":{"o0":-5,"o8":{"o9":-4}}}
"\u0007Ò"

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 rejected, explained refuse by the parser not scored n/i tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key stdin:7:6: error: Indentation used tabs for ':' indicator
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.