% is an "indicator" character so it can't be the first in an unquoted (plain) scalar. Therefore syck is wrong in accepting it.

Have fun,

    Oren Ben-Kiki

On Thu, Nov 24, 2011 at 4:29 PM, j.wuttke <j.wuttke@fz-juelich.de> wrote:
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
_______________________________________________
Yaml-core mailing list
Yaml-core@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yaml-core