[html-formfu] 'Syck parser' because of ': ' inside of comment_xml
Carl Franks
fireartist at gmail.com
Wed Dec 2 08:48:06 GMT 2009
2009/12/2 Jens Schwarz <blacky6767 at gmx.de>:
> Hi,
>
> in my yml's I have elements like this:
>
> - type: Text
> name: foo
> comment_xml:
> <img class="foo" src="someimage.png" alt="foo"/>
> <div>
> <div class="foodiv1">foobar</div>
> <div class="foodiv2">
> foo: bar
> </div>
> </div>
>
> This produces a 'Syck parser' error message because of ': ' inside of 'foo: bar' (i.e. a colon followed by space).
>
> Workaround: replace ': ' with ': '.
>
> I don't know if that's a bug of HTML::FormFu, if it can be fixed or if we have to live with the workaround. I just wanted to point that problem out. The workaround works fine for me :)
It looks like a bug with YAML::Syck.
Can you check if YAML::XS handles it correctly?
The latest version of Config::Any (which FormFu uses to load config
files) now prefers YAML::XS if it's installed.
Carl
More information about the HTML-FormFu
mailing list