# YAML Test Matrix

--- &test-6XDY
  Title: Two document start markers
  Tags: [ header ]

YAML

---
---

Expected Events

+STR
+DOC ---
=VAL :
-DOC
+DOC ---
=VAL :
-DOC
-STR

Expected JSON

null
null

c-libfyaml-event

 ok

c-libyaml-event

 ok

cpp-yamlcpp-event

 ok

dotnet-yamldotnet-event

 ok

hs-hsyaml-event

 ok

java-snakeyaml-event

 ok

js-yaml-event

 ok

nim-nimyaml-event

 ok

perl-pp-event

 ok

perl-pplibyaml-event

 ok

py-pyyaml-event

 ok

py-ruamel-event

 ok

c-libfyaml-json

 json_ok

hs-hsyaml-json

 json_ok

java-snakeyaml-json

 json_ok

js-jsyaml-json

 json_ok

js-yaml-json

 json_ok

perl-pp-json

 json_ok

perl-pplibyaml-json

 json_ok

perl-syck-json

 json_ok

perl-tiny-json

 json_ok

perl-xs-json

 json_ok

perl-yaml-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

lua-lyaml-json

 json_diff
{}
{}

dotnet-yamldotnet-json

 error
Unhandled exception. YamlDotNet.Core.YamlException: (Line: 2, Col: 1, Idx: 4) - (Line: 2, Col: 4, Idx: 7): Expected 'StreamEnd', got 'DocumentStart' (at Line: 2, Col: 1, Idx: 4).
   at YamlDotNet.Core.ParserExtensions.Expect[T](IParser parser)
   at YamlDotNet.Serialization.Deserializer.Deserialize(IParser parser, Type type)
   at YamlDotNet.Serialization.Deserializer.Deserialize(TextReader input, Type type)
   at YamlDotNet.Serialization.Deserializer.Deserialize(TextReader input)
   at Program.Main(String[] commandLineArguments)
Aborted (core dumped)

perl-pp-perl

 na
undef
undef

perl-pplibyaml-perl

 na
undef
undef

perl-syck-perl

 na
undef
undef

perl-tiny-perl

 na
undef
undef

perl-xs-perl

 na
undef
undef

perl-yaml-perl

 na
undef
undef

py-pyyaml-py

 na
None
None

py-ruamel-py

 na
None
None