sha256 755dabe9bd8695fcdd6b1da5a7c313556cd0a5f8ffa51318ca961bbc6cca029e
!<!foo> # c1 n: !<tag:y#aml.org,2002:null> Null # c2 !<tag:yaml.org,2002:str> b: !<tag:yaml.org,2002:binary> BOrG
| grammar | valid, vouched for up to parse |
| encoding/bom | open from parse on: each parser's stance decides |
| features | none |
| meaning (none stated) | |
go-yaml
accept
libfyaml
accept, then the loader refuses past parse
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml
{"b":"BOrG","n":"Null"}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| libfyaml | accepted refuse by the loader | not scored | n/i | UnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 1: invalid continuation byte | |
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | Error: parse: Parser finished before end of input |
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | hash-in-tag: yaml.v3 ends a tag or a %TAG prefix at a '#', which ns-uri-char takes: "!foo# x" and "!<tag:yaml.org,200#:int> 1" reject the document | yaml.v3: yaml: line 3: did not find the expected '>' |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.