generated/1395/alias renamed to nothing

sha256 4309eac56ce6c98fd4ee733b13363932308de6288c61a4651c39d6c77ff70a9b

Document

%TAG !x! tag:yaml.org,2002:
---
# c1
base: &m4 {o9: -5}
# c2
o: !x!omap &m3 [{o0: -3}, {<<: *m4}, {o1: -7}, {o2: -2}, {o8: *m4}]
# c3
again: *unanchored
# c4
p: !x!pairs [{p0: 1}, {p0: 2}]
# c5
!foo s: !x!set {s0, s1, s2}

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
featuresbreak/crlf node/alias node/anchor node/tag-handle node/tag-local presentation/comment-above presentation/document-marker presentation/flow-collection presentation/flow-key-alone presentation/plain presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
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: unanchored
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 [8:9] could not find alias "unanchored"

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