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:
4ccac02
)
For yaz-marcdump, allow use of prefix in record element.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 Mar 2008 22:00:38 +0000
(23:00 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 Mar 2008 22:00:38 +0000
(23:00 +0100)
Fixed marcdump's check for element name. Now using
xmlTextReaderLocalName used instead of xmlTextReaderConstName.
util/marcdump.c
patch
|
blob
|
history
diff --git
a/util/marcdump.c
b/util/marcdump.c
index
a9a3061
..
03ae3a2
100644
(file)
--- a/
util/marcdump.c
+++ b/
util/marcdump.c
@@
-129,7
+129,7
@@
static void marcdump_read_xml(yaz_marc_t mt, const char *fname)
if (type == XML_READER_TYPE_ELEMENT)
{
const char *name = (const char *)
- xmlTextReaderConstName(reader);
+ xmlTextReaderLocalName(reader);
if (!strcmp(name, "record"))
{
xmlNodePtr ptr = xmlTextReaderExpand(reader);