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
Use libxml2 2.9.2/Libxslt 1.1.28 - part of YAZ-804
[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
97e99e5
..
f1539c5
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-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-185,6
+185,7
@@
static int yaz_marc_read_xml_leader(yaz_marc_t mt, const xmlNode **ptr_p,
for(; p; p = p->next)
if (p->type == XML_TEXT_NODE)
leader = (const char *) p->content;
for(; p; p = p->next)
if (p->type == XML_TEXT_NODE)
leader = (const char *) p->content;
+ ptr = ptr->next;
}
break;
}
}
break;
}
@@
-415,9
+416,9
@@
int yaz_marc_read_xml(yaz_marc_t mt, const xmlNode *ptr)
switch (format)
{
case YAZ_MARC_MARCXML:
switch (format)
{
case YAZ_MARC_MARCXML:
- return yaz_marc_read_xml_fields(mt, ptr->next, indicator_length);
+ return yaz_marc_read_xml_fields(mt, ptr, indicator_length);
case YAZ_MARC_TURBOMARC:
case YAZ_MARC_TURBOMARC:
- return yaz_marc_read_turbo_xml_fields(mt, ptr->next, indicator_length);
+ return yaz_marc_read_turbo_xml_fields(mt, ptr, indicator_length);
}
return -1;
}
}
return -1;
}