Fix XML attributes for MARC reader
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Apr 2002 14:36:53 +0000 (14:36 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Apr 2002 14:36:53 +0000 (14:36 +0000)
doc/Makefile.am
recctrl/marcread.c

index 78e3063..1cb7049 100644 (file)
@@ -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
        
index a6924a8..7e072aa 100644 (file)
@@ -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;