sha256 ac194cf1dc5bba718391d60aaf09a17451d7f85325f766b2767c252f6b8aaad4
base: &m1 # c1
b0: -7 # c2
item: # c3
<<: !!seq # c4
- # c5
c0: 0x0 # c6
c1: 0x5 # c7
- *m1 # c8
d0: !!int -1 # c9
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-shorthand presentation/comment-inline presentation/number-hex presentation/plain presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":-7},"item":{"\u003c\u003c":[{"c0":0,"c1":5},{"b0":-7}],"d0":-1}} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml
{"base":{"b0":-7},"item":{"\u003c\u003c":[{"c0":0,"c1":5},{"b0":-7}],"d0":-1}}yamlstar
{"base":{"b0":-7},"item":{"b0":-7,"c0":"0x0","c1":"0x5","d0":-1}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | accepted accept | different, explained | n/i | value: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15 | |
| yaml.v3 | rejected, explained refuse by the parser | rejected, explained | refused | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document |
yaml.v3: yaml: line 5: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.