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
ZOOM: increase default max message to 64 MB
[yaz-moved-to-github.git]
/
src
/
marc_read_xml.c
diff --git
a/src/marc_read_xml.c
b/src/marc_read_xml.c
index
59ffb00
..
2f6baff
100644
(file)
--- a/
src/marc_read_xml.c
+++ b/
src/marc_read_xml.c
@@
-1,5
+1,5
@@
/* 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.
*/
@@
-18,7
+18,6
@@
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <yaz/marcdisp.h>
#include <yaz/wrbuf.h>
#include <yaz/yaz-util.h>
#include <yaz/marcdisp.h>
#include <yaz/wrbuf.h>
#include <yaz/yaz-util.h>
@@
-377,7
+376,7
@@
int yaz_marc_read_xml(yaz_marc_t mt, const xmlNode *ptr)
}
else if (!strcmp((const char *) ptr->name, "r"))
{
}
else if (!strcmp((const char *) ptr->name, "r"))
{
- format = YAZ_MARC_TMARCXML;
+ format = YAZ_MARC_TURBOMARC;
break;
}
else
break;
}
else
@@
-402,7
+401,7
@@
int yaz_marc_read_xml(yaz_marc_t mt, const xmlNode *ptr)
{
case YAZ_MARC_MARCXML:
return yaz_marc_read_xml_fields(mt, ptr->next);
{
case YAZ_MARC_MARCXML:
return yaz_marc_read_xml_fields(mt, ptr->next);
- case YAZ_MARC_TMARCXML:
+ case YAZ_MARC_TURBOMARC:
return yaz_marc_read_turbo_xml_fields(mt, ptr->next);
}
return -1;
return yaz_marc_read_turbo_xml_fields(mt, ptr->next);
}
return -1;