sha256 2692f909ca417464bc0eef6890e9b2c18bb99758c1c25db6386d5825687d4bcb
%YAML 1.1
%TAG !n-1! tag:yaml.org,2002:
---
# c1
base:
&m1
# c2
b0: -7
# c3
!foo item:
# c4
!n-1!merge <<: *m1
# c5
d0: -3
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-handle node/tag-local presentation/comment-above presentation/document-marker presentation/plain presentation/property-line presentation/tag-directive presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":-7},"item":{"b0":-7,"d0":-3}} |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml libfyaml yaml.v3
{"base":{"b0":-7},"item":{"b0":-7,"d0":-3}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| 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 | differentdocument 0written base:
b0: -7
item:
b0: -7
d0: -3
read back {"base":{"b0":-7},"item":{"b0":-7,"d0":-3}} |
||
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.