[Oisf-wg-configuration_language] Configuration Structure

Matt C mbc8434 at gmail.com
Thu Aug 6 01:15:44 UTC 2009


The key benefit that I see in YAML is not that it is more readable than XML,
but that it allows you to express data structures like lists and
dictionaries much better than with XML.  Almost any data can be structured
using dictionaries and lists.

I have always found that there are many gray areas when using XML.  It is
not always trivial to determine what data to put in attributes versus
between element tags. Their are also times where it is not trivial to
determine whether or not you should create sub elements.  XML is very free
form and widely supported, but I like YAML better for config files.

Disclaimer: My only experience with YAML is in python (and recently some
perl).  The structures in YAML map extremely well to these dynamic
languages.  I am sure that working with YAML in C will be a slightly more
complex undertaking.

Matt C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-wg-configuration_language/attachments/20090805/23eabf5a/attachment-0002.html>


More information about the Oisf-wg-configuration_language mailing list