be set. The fix, surprisingly, is to allow SUTRS for "update". The problem
is that Z39.50 mandates that *some* record to be sent (including the
case where a record is to be deleted by ID). However, ZOOM-C sends a "void"
SUTRS record in this case.. This record is not parsed by the server.
-/* $Id: zebrasrv.c,v 1.3 2006-12-05 09:26:37 adam Exp $
+/* $Id: zebrasrv.c,v 1.4 2007-01-15 13:01:26 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
rec->u.octet_aligned->len,
rec->u.octet_aligned->buf);
}
- if (oident && oident->value != VAL_TEXT_XML)
+ if (oident && oident->value != VAL_TEXT_XML
+ && oident->value != VAL_SUTRS)
{
rr->errcode = YAZ_BIB1_ES_IMMEDIATE_EXECUTION_FAILED;
rr->errstring = "only XML update supported";