ypaste parsing errors

Burt Harris <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <4367B3F0BD5AA84DBE0A9DA5AAF7B7B965291940E4@NA-EXMSG-C103.redmond.corp.microsoft.com>
I've noticed a couple of cases where http://yaml.org/ypaste/ doesn't seem to parse what I think should be valid input:

- Example 9.12 from the YAML 1.1 spec: it seems to be troubled by the leading colon in ::std::vector inside flow collection.  The ypaste message is "Unexpected ':'"  In the YAML 1.2 spec the same problem with example is 7.10.  (P.S. output for the new Example 7.10 is missing the URLs.)

- A comma in a block mode plain scalar:   The ypaste message is "Expected start of line".  (Adding a newline doesn't help.)

--- # Example 9.12 from 1.1 spec
# Outside flow collection:
- ::std::vector
- Up, up and away!
- -123
# Inside flow collection:
- [ ::std::vector,
  "Up, up and away!",
  -123 ]
...

--- # Comma in a block plain scalar
One, two: three
...

------------------------------------------------------------------------------

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.