sha256 af0cebb0874f7a208c43cec42d87e1d09de425fb95f73084f6a8729df0d5d70e
---
!<!foo> >5-
0x_F1
| grammar | valid, vouched for up to parse |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml perlref
accept
libfyaml yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
"0x_F1"
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | rejected, explained refuse by the parser | not scored | 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 | stdin:3:1: error: block scalar with wrongly indented line after spaces only |
| yamlstar | rejected after the parse refuse by the loader | not scored | n/i | the loader rejects a document the corpus vouches for only up to parse | Error: Unknown tag: !foo |
| 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.