-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M7A3: Either in-json or out-yaml is wrong #39
Comments
IMHO, I'm a bit suprised btw that the canonical right-hand-side of example 9.3 doesn't read
(notice the PS: To expand a bit more: The YAML 1.2 spec says (emphasis added)
moreover,
So the Moreover,
encodes that multiple consecutive occurences of Hence we got only two documents, and thus
is in fact correct. |
Thanks, my suggested fix is in #42 |
Merged #42 |
This test corresponds to Example 9.3 of the spec, where a stream has either two or three documents, depending on whether the second one is skipped or not:
The current in-json and the test-event stream skip the second one, but the out-yaml includes it as an explicit document. I'm not sure what's really right here, but I'd at least prefer to include the second empty/null document in the stream.
The text was updated successfully, but these errors were encountered: