generated/752

sha256 18b9fd6483eb4f51a7b904cadcc1588a8e2198b9cda651c77965e1b0af7634c9

Document

%YAML 1.2
---
!	|-
     - a


Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/tag-non-specific presentation/block-literal presentation/chomp-padded presentation/document-marker presentation/tab-separation presentation/yaml-directive value/string
meaning (yaml-1.2-core)"- a"

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value split

go-yaml libfyaml

"- a"

yamlstar

"     - a"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept different, explained n/i value: block-scalar-lone-cr: in a block scalar broken by lone CRs, the reference parser keeps the first space of the indentation as content: "a: |\r x\r" gives " x\n" for "x\n"
yaml.v3 rejected, explained refuse by the parser rejected, explained refused yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
value: 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 ok same

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