- );
-
- xmlDocPtr doc = xmlReadFile(fname,
- NULL,
- XML_PARSE_XINCLUDE + XML_PARSE_NOBLANKS
- + XML_PARSE_NSCLEAN + XML_PARSE_NONET );
-
- if (!doc)
- {
- yaz_log (YLOG_FATAL,"XML parsing failed");
- return 1;
- }
- // and perform Xinclude then
- int r = xmlXIncludeProcess(doc);
- if (r == -1)
- {
- yaz_log(YLOG_FATAL, "XInclude processing failed");
- return 1;
- }
- WRBUF base_path = wrbuf_alloc();
- const char *last_p = strrchr(fname,
+ );
+
+ xmlDocPtr doc = xmlReadFile(fname,
+ NULL,
+ XML_PARSE_XINCLUDE + XML_PARSE_NOBLANKS
+ + XML_PARSE_NSCLEAN + XML_PARSE_NONET );
+
+ if (!doc)
+ {
+ yaz_log (YLOG_FATAL,"XML parsing failed");
+ return 1;
+ }
+ // and perform Xinclude then
+ int r = xmlXIncludeProcess(doc);
+ if (r == -1)
+ {
+ yaz_log(YLOG_FATAL, "XInclude processing failed");
+ return 1;
+ }
+ WRBUF base_path = wrbuf_alloc();
+ const char *last_p = strrchr(fname,