shape/directive/a handle declared for one document and used in the next

sha256 c25a6aa6b45d20a0b6132587e9398f438d0e0129c27fca5de1d1ad5f7423c976

Document

%TAG !e! tag:a,2011:
--- !e!x
a: 1
--- !e!y
b: 2

Corpus

grammarvalid, vouched for up to construct
directive/handle-out-of-scopereject from compose on, 6.8.2.2: TAG directives apply to the document that follows them, so a later document has no such handle
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 directive/handle-out-of-scope: 6.8.2.2: TAG directives apply to the document that follows them, so a later document has no such handle. The parser checks this compose rule at parse
libfyaml rejected, settled refuse by the parser not scored n/i directive/handle-out-of-scope: 6.8.2.2: TAG directives apply to the document that follows them, so a later document has no such handle. The parser checks this compose rule at parse stdin:4:5: error: undefined tag prefix
yamlstar rejected, settled refuse by the parser not scored n/i directive/handle-out-of-scope: 6.8.2.2: TAG directives apply to the document that follows them, so a later document has no such handle Error: parse: No %TAG entry for '!e!'
yaml.v3 rejected, settled refuse by the parser not scored refused directive/handle-out-of-scope: 6.8.2.2: TAG directives apply to the document that follows them, so a later document has no such handle yaml.v3: yaml: line 3: found undefined tag handle
go-yaml rejected, settled refuse by the parser not scored refused directive/handle-out-of-scope: 6.8.2.2: TAG directives apply to the document that follows them, so a later document has no such handle [4:5] tag handle !e! is not defined by a TAG directive

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