From: Adam Dickmeiss Date: Tue, 9 Apr 2002 14:36:53 +0000 (+0000) Subject: Fix XML attributes for MARC reader X-Git-Tag: CHANGELOG~1 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=c6b44a954475cd6e5cbfe560e63158fc48d4899f;p=idzebra-moved-to-github.git Fix XML attributes for MARC reader --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 78e3063..1cb7049 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.6 2002-04-09 13:26:26 adam Exp $ +## $Id: Makefile.am,v 1.7 2002-04-09 14:36:53 adam Exp $ docdir=$(pkgdatadir)/doc doc_DATA = zebra.html zebra.pdf @@ -51,6 +51,6 @@ gils.html: gils.sgml dist-hook: cp $(srcdir)/*.html $(distdir) -clean-hook: +clean-data-hook: rm -f [0-9]* *.bak diff --git a/recctrl/marcread.c b/recctrl/marcread.c index a6924a8..7e072aa 100644 --- a/recctrl/marcread.c +++ b/recctrl/marcread.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: marcread.c,v $ - * Revision 1.11 2000-05-15 15:32:51 adam + * Revision 1.12 2002-04-09 14:36:53 adam + * Fix XML attributes for MARC reader + * + * Revision 1.11 2000/05/15 15:32:51 adam * Added support for 64 bit input file support. * * Revision 1.10 1999/11/30 13:48:04 adam @@ -106,6 +109,9 @@ data1_node *data1_mk_node_tag (data1_handle dh, NMEM mem, data1_node *parent, res->which = DATA1N_tag; res->u.tag.tag = res->lbuf; res->u.tag.get_bytes = -1; +#if DATA1_USING_XATTR + res->u.tag.attributes = 0; +#endif if (len >= DATA1_LOCALDATA) len = DATA1_LOCALDATA-1;