generated/1934

sha256 6d21bd39a1ed65f89346b0b3222e3c2865f3967f5f8046be97ef223c6fd89159

Document

%YAML 1.2
---
&a1 0x11 # c1

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/anchor presentation/comment-inline presentation/document-marker presentation/number-hex presentation/plain presentation/yaml-directive value/int
meaning (yaml-1.2-core)17

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value split

go-yaml libfyaml

17

yamlstar

"0x11"

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: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15
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.