sha256 099dfb096a95544b7197df1a3b36458ef123897ccecb85211a026c8cf847643e
%TAG !x! tag:yaml.org,2002:
---
# c1
? "base"
: &m4 {? "o9": -1}
# c2
? "o"
: !x!omap &m3 [{? "o0": 0o3}, {? "o1": 0o0}, {? "o2": -1}, {? "o8": *m4}]
# c3
? "again"
: *unanchored
# c4
? "p"
: !x!pairs [{? "p0": 0o1}, {? "p0": 0o2}]
| grammar | valid, vouched for up to construct |
| anchor/alias-undefined | reject from compose on, 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none |
| features | break/cr node/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/number-octal presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/sequence |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the composer
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
refuse by the parser
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, settled refuse by the parser | n/i | n/i | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none. The parser checks this compose rule at parse | |
| libfyaml | accepted refuse by the loader | not scored | n/i | ValueError: Failed to parse YAML/JSON | |
| yamlstar | rejected, settled refuse by the parser | not scored | n/i | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none | Error: parse: Parser finished before end of input |
| yaml.v3 | rejected, settled refuse by the composer | not scored | refused | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none | yaml.v3: yaml: unknown anchor 'unanchored' referenced |
| go-yaml | rejected, settled refuse by the composer | not scored | refused | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none | [11:4] could not find alias "unanchored" |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.