leading tabs in block scalar lines

Jesse Beder <beder-d0mtIEKrxfl4piUD7e9S/[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Compare "Example 6.7. Block Folding" with "Example 8.2. Block
Indentation Indicator":

In Example 6.7, the tab is viewed as "content space", which means the
newlines on each side of it are kept.
In Example 8.2, it appears that the tab is just viewed as content, so
the newline after it is folded to a space.

I think Example 8.2 is incorrect. Libyaml/pyyaml agrees with me:

>>> yaml.load('- >\n \t\n foo')     # Example 8.2 claims we'll get ['\t foo']
['\t\nfoo']
>>> yaml.load('- >\n t\n foo')      # like we would here
['t foo']

Thanks,
Jesse

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
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.