Re: libyaml refuses all strings starting with '%'

Andrey Somov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <CAEO54bEy6h7fHrrVsBX1jPVP2+Z_40S-WuPvR=Ao1F3BZ7e+uw@mail.gmail.com>
I think it only defines the directive if there is no indentation.
(http://yaml.org/spec/1.1/#id895217)
"Each directive is specified on a separate _non-indented_ line
starting with the “%” indicator, followed by the directive name and a
space-separated list of parameters."

-
Andrey


On Thu, Nov 24, 2011 at 4:08 PM, Kirill Simonov <xi-RCSp1WnSyaseIZ0/[email protected]> wrote:
> Hi Joachim,
>
> The YAML spec does not allow unquoted values to start with an indicator
> character.  The `%` indicates a YAML directive, as in:
>
> %YAML 1.1
>
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
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.