* Copyright (C) 1994-2002, Index Data
* All rights reserved.
*
- * $Id: recgrs.c,v 1.49 2002-05-13 14:13:43 adam Exp $
+ * $Id: recgrs.c,v 1.51 2002-05-28 21:10:34 adam Exp $
*/
#include <stdio.h>
case DATA1N_tag:
for (nn = n; nn; nn = nn->parent)
{
- if (n->which == DATA1N_tag)
+ if (nn->which == DATA1N_tag)
{
size_t tlen = strlen(nn->u.tag.tag);
if (tlen + flen > (sizeof(tag_path_full)-2))
flen += tlen;
tag_path_full[flen++] = '/';
}
- else if (n->which == DATA1N_root)
+ else if (nn->which == DATA1N_root)
{
size_t tlen = strlen(nn->u.root.type);
if (tlen + flen > (sizeof(tag_path_full)-2))
* the overlap of schema and formatting which is inherent in the MARC
* family)
*/
- logf (LOG_DEBUG, "grs_retrieve: syntax mapping");
+ yaz_log (LOG_DEBUG, "grs_retrieve: syntax mapping");
if (node->u.root.absyn)
for (map = node->u.root.absyn->maptabs; map; map = map->next)
{
break;
}
}
- logf (LOG_DEBUG, "grs_retrieve: schemaIdentifier");
+ yaz_log (LOG_DEBUG, "grs_retrieve: schemaIdentifier");
if (node->u.root.absyn &&
node->u.root.absyn->reference != VAL_NONE &&
p->input_format == VAL_GRS1)