generated/1898/a collection key written twice

sha256 c9285452f673deaeffb8aff949d4790818b639f7023ce48f403b7a629be45d05

Document

%TAG !x! tag:yaml.org,2002:
---
"a:b": &a1	~
"あ\"\t\u000Cí ぁ": !x!null	~
?
  -	"a:b"
:	>-
  dup
?
  -	"a:b"
:	>-
  dup2

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
key/duplicatereject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node
featuresbreak/crlf encoding/byte-order-mark node/anchor node/tag-handle presentation/block-folded presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/tab-separation presentation/tag-directive value/mapping value/non-string-key value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml yaml.v3

refuse by the parser

perlref yamlstar

accept

value

yamlstar

{"[\"a:b\"]":"dup2","a:b":null,"あ\"\t12í ぁ":null}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser not scored n/i tab-after-block-entry: fy-tool rejects a tab after a '-' before a block scalar header, "-\t>-", and before some scalars in nested entries, where s-separate takes the tab stdin:7:2: error: cannot use tab for indentation of block entry
yamlstar accepted accept not scored n/i
yaml.v3 rejected, settled refuse by the parser not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node yaml.v3: yaml: line 6: found character that cannot start any token
go-yaml rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node [6:3] a sequence cannot be a JSON key

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