/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <yaz/marcdisp.h>
#include <yaz/wrbuf.h>
#include <yaz/yaz-util.h>
}
else if (!strcmp((const char *) ptr->name, "r"))
{
- format = YAZ_MARC_TMARCXML;
+ format = YAZ_MARC_TURBOMARC;
break;
}
else
{
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;