generated/2059

sha256 641c8e721f3b471f11fcd35905fd85ce3a34cb478b40d290997a3e02fb60e79a

Document

%YAML 1.2
---
&a1 "\U0000000A\U0000000A"

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/anchor presentation/document-marker presentation/escape-long presentation/quoted-double presentation/yaml-directive value/string
meaning (yaml-1.2-core)"\n\n"

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value split

go-yaml libfyaml

"\n\n"

yamlstar

"1010"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept different, explained n/i value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597"
yaml.v3 rejected, explained refuse by the parser rejected, explained refused yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
yaml.v3: yaml: found incompatible YAML document
go-yaml accepted accept ok same

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