X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fxslt%2Fxslt2.c;h=a164f861cbab342e2c2a9825ba7a4df787884814;hb=f19d5a2a00dc48dfda777589fdd4ac21252f5ccc;hp=fe422111cc2e210ab08e20459c4773d29f669b21;hpb=1d1083ab048f9f1000f0bf11225be23a6730cb06;p=idzebra-moved-to-github.git diff --git a/test/xslt/xslt2.c b/test/xslt/xslt2.c index fe42211..a164f86 100644 --- a/test/xslt/xslt2.c +++ b/test/xslt/xslt2.c @@ -1,4 +1,4 @@ -/* $Id: xslt2.c,v 1.3 2005-05-31 14:18:17 adam Exp $ +/* $Id: xslt2.c,v 1.6 2006-02-23 11:26:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -34,15 +34,15 @@ int main(int argc, char **argv) size_t r; ZebraService zs = start_up(0, argc, argv); - ZebraHandle zh = zebra_open(zs); + ZebraHandle zh = zebra_open(zs, 0); - check_filter(zs, "xslt1"); + check_filter(zs, "xslt"); zebra_select_database(zh, "Default"); zebra_init(zh); - zebra_set_resource(zh, "recordType", "xslt1.marcschema.xml"); + zebra_set_resource(zh, "recordType", "xslt.marcschema-col.xml"); sprintf(path, "%.200s/marc-col.xml", get_srcdir()); f = fopen(path, "rb"); @@ -68,7 +68,7 @@ int main(int argc, char **argv) /* only get hits from first record .. */ do_query(__LINE__, zh, "@attr 1=title computer", 1); do_query(__LINE__, zh, "@attr 1=control 11224466", 1); - do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121); + do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114); return close_down(zh, zs, 0); }