projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b93c50c
)
Ignore unknown XML attributes in MARCXML parsing.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 Mar 2008 22:32:19 +0000
(23:32 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 Mar 2008 22:32:19 +0000
(23:32 +0100)
src/marc_read_xml.c
patch
|
blob
|
history
diff --git
a/src/marc_read_xml.c
b/src/marc_read_xml.c
index
8f4ffd6
..
31a718b
100644
(file)
--- a/
src/marc_read_xml.c
+++ b/
src/marc_read_xml.c
@@
-118,7
+118,6
@@
static int yaz_marc_read_xml_leader(yaz_marc_t mt, const xmlNode **ptr_p)
{
yaz_marc_cprintf(
mt, "Expected element 'leader', got '%.80s'", ptr->name);
- return -1;
}
}
if (!leader)
@@
-194,7
+193,6
@@
static int yaz_marc_read_xml_fields(yaz_marc_t mt, const xmlNode *ptr)
yaz_marc_cprintf(
mt, "Bad attribute '%.80s' for 'datafield'",
attr->name);
- return -1;
}
if (!ptr_tag)
{