generated/739

sha256 2e78ba34029426e19ad71d9c73c76e9bf83fc7069874030326ab1cf8a1c84bf3

Document

%YAML 1.2
---
>4-
   日本語


Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/cr encoding/byte-order-mark presentation/block-folded presentation/block-indicator presentation/chomp-padded presentation/document-marker presentation/yaml-directive value/string
meaning (yaml-1.2-core)"日本語"

Answer groups

verdict split

go-yaml perlref yamlstar

accept

libfyaml yaml.v3

refuse by the parser

value

go-yaml yamlstar

"日本語"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser rejected, explained n/i indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it
value: indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it
stdin:4:1: error: block scalar with wrongly indented line after spaces only
yamlstar accepted accept ok n/i
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.