Fix XML attributes for MARC reader
[idzebra-moved-to-github.git] / recctrl / marcread.c
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;