[Catalyst] YAML vs. *
Brandon Black
blblack at gmail.com
Mon Jun 12 15:33:08 CEST 2006
On 6/11/06, Kiki <kiki at bsdro.org> wrote:
> Well it's either that or tag clutter à la XML ... or a
I still think XML is perfectly reasonable and universal for a
config-file format, easily recognized and edited by most people (even
if its a bit verbose), and can serialize everything we need.
The issue with most XML configuration formats is that they lack a DTD,
and so the rules are ambiguous at best. It wouldn't be that hard to
write an XML serializer module that actually uses a published DTD for
perl data structures, and always validates against the DTD when
reading (and spits useful parser error messages if anything looks
fishy). Could even add a script that checks config syntax validity.
-- Brandon
More information about the Catalyst
mailing list