generated/2596/substitute an indicator/8

sha256 920e29b814cef3aa80865ff98857ef3307b0309464f35cf3de0c7fe5ecf278cd

Document

%YAML 1.2
%TAG*!TAG2! tag:yaml.org,2002:
---
# c1
'base': # c2
  &m4
  # c3
  'o9': 3 # c4
# c5
'o': # c6
  &m3 !TAG2!omap
  # c7
  - # c8
    # c9
    'o0': 4 # c10
  # c11
  - # c12
    # c13
    <<: *m4 # c14
# c15
'again': *m3 # c16

Corpus

grammarvalid, vouched for up to parse
directive/reservedaccept from compose on, 6.8: a directive a processor does not recognize is ignored with a warning, not refused
tag/undeclared-handlereject from parse on, 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not
featuresnone
meaning (none stated)

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, settled refuse by the parser n/i n/i tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not
libfyaml rejected, settled refuse by the parser not scored n/i tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not stdin:2:2: warning: Unsupported directive
yamlstar rejected, settled refuse by the parser not scored n/i tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not Error: parse: No %TAG entry for '!TAG2!'
yaml.v3 rejected, settled refuse by the parser not scored refused tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not yaml.v3: yaml: line 2: found unexpected non-alphabetical character
go-yaml rejected, settled refuse by the parser not scored refused tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not [11:7] tag handle !TAG2! is not defined by a TAG directive

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