libyaml refuses all strings starting with '%'

Andrey Somov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <CAEO54bH6p2CxNVoBvWKuFn2GQvX-WuCSABwnvuc9pBzV=NYkZw@mail.gmail.com>
'%' cannot start any scalar according to the YAML 1.1. It is used for escaping.
See http://yaml.org/spec/1.1/#id871856 -
"A limited form of 8-bit escaping is available using the “%” character."


-
Andrey



On Thu, Nov 24, 2011 at 3:37 PM, j.wuttke <j.wuttke-97/[email protected]> wrote:
> In my previous mail I indicated a problem with a string consisting of just
> one percent sign. Actually the same problem with libyaml (as opposed to Syck)
> occurs for _all_ strings _starting_ with a percent sign.
>
> (I urgently need to know whether this is a bug in libyaml or whether I am
> writing incorrect YAML. My production files are full of entries like "format: %4i")
>
> - Joachim
>

------------------------------------------------------------------------------
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.