projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
retrieval: empty backend name attribute omits element set
[yaz-moved-to-github.git]
/
src
/
cclxmlconfig.c
diff --git
a/src/cclxmlconfig.c
b/src/cclxmlconfig.c
index
d6a8de5
..
7ad2652
100644
(file)
--- a/
src/cclxmlconfig.c
+++ b/
src/cclxmlconfig.c
@@
-1,11
+1,13
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
-
/** \file cclxmlconfig.c
\brief XML configuration for CCL
*/
/** \file cclxmlconfig.c
\brief XML configuration for CCL
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
@@
-89,7
+91,7
@@
static int ccl_xml_config_attr(const char *default_set,
}
static int ccl_xml_config_qual(CCL_bibset bibset, const char *default_set,
}
static int ccl_xml_config_qual(CCL_bibset bibset, const char *default_set,
- WRBUF wrbuf,
+ WRBUF wrbuf,
const xmlNode *ptr,
const char **addinfo)
{
const xmlNode *ptr,
const char **addinfo)
{
@@
-179,7
+181,7
@@
int ccl_xml_config_directive(CCL_bibset bibset, const xmlNode *ptr,
int ccl_xml_config(CCL_bibset bibset, const xmlNode *ptr, const char **addinfo)
{
int ccl_xml_config(CCL_bibset bibset, const xmlNode *ptr, const char **addinfo)
{
- if (ptr && ptr->type == XML_ELEMENT_NODE &&
+ if (ptr && ptr->type == XML_ELEMENT_NODE &&
!xmlStrcmp(ptr->name, BAD_CAST "cclmap"))
{
const xmlNode *c_ptr;
!xmlStrcmp(ptr->name, BAD_CAST "cclmap"))
{
const xmlNode *c_ptr;