YPaste parsing for properties
Burt Harris <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <4367B3F0BD5AA84DBE0A9DA5AAF7B7B9408FB404B5@NA-EXMSG-C103.redmond.corp.microsoft.com> |
The ypaste tool at http://dev.yaml.org is great. One experiment I tried:
!foo !bar
One: two
Results surprise me, it seems to have parsed !foo and !bar both as properties
of the mapping. I didn't think that was allowed under the current rules.
I was expecting !bar to be tied One, rather than the mapping, which is what
happened if I moved !bar to the next line:
!foo
!bar One: two
Finally, and most surprisingly, if I put it all on one line, I get an error:
!foo !bar One: two
Is any of this intended?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/