From: Adam Dickmeiss Date: Fri, 12 Apr 2002 14:40:07 +0000 (+0000) Subject: GRS-1 writer accepts non-abs X-Git-Tag: YAZ.1.8.7.CCL~26 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e2f1c5070b1e64987f07f4fe7fa04dad55131264;p=yaz-moved-to-github.git GRS-1 writer accepts non-abs --- diff --git a/retrieval/d1_grs.c b/retrieval/d1_grs.c index 6530e7f..d686b08 100644 --- a/retrieval/d1_grs.c +++ b/retrieval/d1_grs.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_grs.c,v $ - * Revision 1.17 1999-11-30 13:47:12 adam + * Revision 1.18 2002-04-12 14:40:07 adam + * GRS-1 writer accepts non-abs + * + * Revision 1.17 1999/11/30 13:47:12 adam * Improved installation. Moved header files to include/yaz. * * Revision 1.16 1999/08/27 09:40:32 adam @@ -249,7 +252,8 @@ static Z_TaggedElement *nodetotaggedelement(data1_handle dh, data1_node *n, */ else if (n->which == DATA1N_data || n->which == DATA1N_variant) { - if (!(tag = data1_gettagbyname (dh, n->root->u.root.absyn->tagset, + if (n->root->u.root.absyn && + !(tag = data1_gettagbyname (dh, n->root->u.root.absyn->tagset, "wellKnown"))) { yaz_log(LOG_WARN, "Unable to locate tag for 'wellKnown'");