yaml-spec icon indicating copy to clipboard operation
yaml-spec copied to clipboard

Minor error/typo in example 7.10

Open Foxcapades opened this issue 2 years ago • 0 comments

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" ] ]

Foxcapades avatar Jan 27 '23 12:01 Foxcapades