shape/tag/a handle declared by a directive

sha256 172beba48a3aa31610df929553618af0f1fc8df5f1c92126580ea6b430130662

Document

%TAG !e! tag:example.com,2011:
---
k: !e!x v

Corpus

grammarvalid, vouched for up to construct
tag/named-handleopen from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value

go-yaml libfyaml yaml.v3

{"k":"v"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: tag:example.com,2011:x
yaml.v3 accepted accept not scored same
go-yaml accepted accept not scored same

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