Let's take the world's simplest configuration, in 2 formats.Originally Posted by Ren
A properties file (similar to an INI file, used a lot in Java apps):HTML Code:<?xml version='1.0' encoding='utf-8'?> <config> <enabled>true</enabled> </config>
Which would cause more overhead in parsing?Code:enabled=true
XML's not without use; I just think simple application config isn't the best use for it. If you find that you need to represent complex structures in your app config that ini files or yaml or whatever can't provide, then by all means use XML, but odds are if your app config is that complex it can be simplified.