Is % a valid string? Different behaviour of Syck and libyaml!

j.wuttke <j.wuttke-97/[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Is this valid YAML:?

---
testtext: %
...

It is parsed without difficulty by Ruby1.8 (Syck based)
whereas it fails under Ruby1.9.1 (psych -> libyaml).

By the way, the web site yaml.org says psych is "in Ruby
core for 1.9.2". I suggest to correct this into "since 1.9.1".
(Or "since 1.9" ? I ignore whether it was present in 1.9.0)

- Joachim



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

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