--- a/dav/scfg.c Sat Nov 09 10:18:58 2019 +0100 +++ b/dav/scfg.c Fri Nov 15 18:07:11 2019 +0100 @@ -452,10 +452,8 @@ if(node->type == XML_ELEMENT_NODE) { char *value = util_xml_get_text(node); /* every key needs a value */ - if(!value) { - /* TODO: maybe this should only be reported, if the key is valid - * But this makes the code very ugly. - */ + if(!value && !xstreq(node->name, "versioning")) { + // TODO: only report if value is required print_error(node->line, "missing value for directory element: %s\n", node->name);