sha256 fa01fdd319c64c53f3298f6e933d7b095e1e7ec565dfddec3f8d166c32263cf1
%TAG !e! tag:a,2011: %TAG !e! tag:b,2011: --- a: 1
| grammar | valid, vouched for up to construct |
| directive/multiple | accept from compose on, 6.8: nothing limits a document to one directive, and a %YAML with a %TAG is the ordinary prelude |
| directive/tag-handle-repeated | reject from compose on, 6.8.2.2: it is an error to specify more than one TAG directive for the same handle in the same document |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml yaml.v3
refuse by the parser
perlref yamlstar
accept
yamlstar
{"a":1}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | rejected, settled refuse by the parser | not scored | n/i | directive/tag-handle-repeated: 6.8.2.2: it is an error to specify more than one TAG directive for the same handle in the same document. The parser checks this compose rule at parse | stdin:2:6: error: duplicate tag directive |
| yamlstar | accepted, against the rules accept | not scored | n/i | directive/tag-handle-repeated: 6.8.2.2: it is an error to specify more than one TAG directive for the same handle in the same document | |
| yaml.v3 | rejected, settled refuse by the parser | not scored | refused | directive/tag-handle-repeated: 6.8.2.2: it is an error to specify more than one TAG directive for the same handle in the same document | yaml.v3: yaml: line 1: found duplicate %TAG directive |
| go-yaml | rejected, settled refuse by the parser | not scored | refused | directive/tag-handle-repeated: 6.8.2.2: it is an error to specify more than one TAG directive for the same handle in the same document | [2:6] tag handle !e! has already been declared by a TAG directive |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.