shape/anchor/an alias to an anchor that is never defined

sha256 619a869a5fffaf6a9f80b84450ebda8e7b47c359d25204c89026eb343cf020af

Document

kept:
  nested: 1
  list:
    - a
    - b
also: |
  literal
  content
aliased: *nowhere

Corpus

grammarvalid, vouched for up to construct
anchor/alias-undefinedreject from compose on, 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the composer

libfyaml

accept, then the loader refuses past parse

perlref

accept

yamlstar

refuse by the loader

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i ValueError: Failed to parse YAML/JSON
yamlstar rejected, settled refuse by the loader 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: Unknown anchor: nowhere
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 'nowhere' 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 [9:11] could not find alias "nowhere"

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.