let load_from_absolute =
let config = default_config in
let entry = `Entry_document [ `Extend_dtd_fully; `Parse_xml_decl ] in
- let fold_key key_stack key = String.concat "." key_stack ^ "." ^ key in
+ let fold_key key_stack key =
+ match key_stack with
+ | [] -> key
+ | _ -> String.concat "." key_stack ^ "." ^ key
+ in
fun fname ->
debug_print ("Loading configuration from " ^ fname);
let document =