minor errors in examples in the 1.2 spec

Jesse Beder <beder-d0mtIEKrxfl4piUD7e9S/[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <CAMrtdsTk4UiEd-4by0a+yz=_PMXkmpwz2k3SXOk2sLbp2X0eMA@mail.gmail.com>
I believe there are errors in examples 8.5 and 8.21 in the 1.2 spec.
(In both cases, pyyaml (compiled using libyaml) agrees with me.)

In example 8.5, the value associated with the key "keep" should be "#
text\n\n" (the example only indicates that one newline should be
kept).

In example 8.21, the value associated with the key "literal" should be
"value\n" (the example does not keep the newline).

Thanks!

- Jesse

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
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.