yaz-ztest returns schema for MARCXML test records
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 11 Oct 2013 12:20:08 +0000 (14:20 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 11 Oct 2013 12:20:08 +0000 (14:20 +0200)
ztest/ztest.c

index 66e691b..b7807d9 100644 (file)
@@ -935,6 +935,7 @@ int ztest_fetch(void *handle, bend_fetch_rr *r)
         {
             r->len = strlen(cp);
             r->record = cp;
+            r->schema = "info:srw/schema/1/marcxml-1.1";
         }
         else
         {