X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fxml_include.c;h=41005dca91db89a8ae5927934db72a0465b81051;hb=5ae2f74ba9b27bb7e926d5908471ac79371f7823;hp=a37ada9c4b612c33e8d1edab3f4fdc8fe64a4dc7;hpb=1a3be581e0f5a91de90d62d8cb8b41fd774efec5;p=yaz-moved-to-github.git diff --git a/src/xml_include.c b/src/xml_include.c index a37ada9..41005dc 100644 --- a/src/xml_include.c +++ b/src/xml_include.c @@ -1,9 +1,9 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ -/** \file +/** \file \brief XML Include (not to be confused with W3C XInclude) */ #if HAVE_CONFIG_H @@ -102,7 +102,7 @@ static int config_include_src(yaz_xml_include_t config, xmlNode **np, yaz_glob_res_t glob_res; glob_ret = yaz_file_glob(wrbuf_cstr(w), &glob_res); - + if (glob_ret == 0) { size_t i; @@ -116,7 +116,7 @@ static int config_include_src(yaz_xml_include_t config, xmlNode **np, wrbuf_printf(w, " end include src=\"%s\" ", src); c = xmlNewComment((const xmlChar *) wrbuf_cstr(w)); sib = xmlAddNextSibling(sib, c); - + *np = sib; wrbuf_destroy(w); return ret; @@ -138,7 +138,7 @@ static int process_config_includes(yaz_xml_include_t config, xmlNode *n) xmlFree(src); if (ret) return ret; - + } } else