yaml-spec
yaml-spec copied to clipboard
Minor error/typo in example 7.10
The output for example 7.10 in the spec has an extra comma in the output compared to the input. Specifically, in the flow sequence, the scalar "Up, up and away!"
becomes "Up, up, and away!"
(note the comma after the second "up").
Current/original "input":
# Outside flow collection:
- ::vector
- ": - ()"
- Up, up, and away!
- -123
- https://example.com/foo#bar
# Inside flow collection:
- [ ::vector,
": - ()",
"Up, up and away!",
-123,
https://example.com/foo#bar ]
Current/original "output":
[ "::vector",
": - ()",
"Up, up, and away!",
-123,
"http://example.com/foo#bar",
[ "::vector",
": - ()",
"Up, up, and away!",
-123,
"http://example.com/foo#bar" ] ]