generated/2645

sha256 2465dcae7ddceb19a047ee9f7b1f5703802f83563de66e60ffb71ddcaa849fdc

Document

&a4
# c1
- " nbsp" # c2
# c3
- &a1 Null # c4
# c5
- *a1 # c6
# c7
- !!set {? "# X ipg_N": [&a2 Null, [&a3 {? !foo "": "...J8E671b 1"}]]} # c8

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresencoding/byte-order-mark node/alias node/anchor node/tag-local node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double value/mapping value/non-string-key value/null value/sequence value/string
meaning (yaml-1.2-core)[" nbsp",null,null,{"# X ipg_N":[null,[{"":"...J8E671b 1"}]]}]

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value

go-yaml libfyaml yaml.v3

[" nbsp",null,null,{"# X ipg_N":[null,[{"":"...J8E671b 1"}]]}]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted accept ok n/i
yamlstar rejected, explained refuse by the parser rejected, explained n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
Error: parse: Parser finished before end of input
yaml.v3 accepted accept ok different
document 0

written

-  nbsp
- null
- null
- '# X ipg_N':
    - null
    - - "": '...J8E671b 1'

read back

[" nbsp",null,null,{"# X ipg_N":[null,[{"":"...J8E671b 1"}]]}]
go-yaml accepted accept ok same

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