generated/2187

sha256 14cb87efd5da06f20ef971b7c2351d7822e94c4b2a709ef5e201382d2efdc0f4

Document

%TAG !TAG2! tag:yaml.org,2002:
---
# c1
? !foo An.Rq5
: !TAG2!str "!a"

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/tag-handle node/tag-local presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-double presentation/tag-directive value/mapping value/non-string-key value/string
meaning (yaml-1.2-core){"An.Rq5":"!a"}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value

go-yaml libfyaml yaml.v3

{"An.Rq5":"!a"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar rejected, explained refuse by the loader rejected, explained 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"
value: 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: !foo
yaml.v3 accepted accept ok different
document 0

written

An.Rq5: '!a'

read back

{"An.Rq5":"!a"}
go-yaml accepted accept ok same

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