projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a test case for bug #447
[idzebra-moved-to-github.git]
/
test
/
xslt
/
xslt2.c
diff --git
a/test/xslt/xslt2.c
b/test/xslt/xslt2.c
index
8ab9450
..
1929ca7
100644
(file)
--- a/
test/xslt/xslt2.c
+++ b/
test/xslt/xslt2.c
@@
-1,4
+1,4
@@
-/* $Id: xslt2.c,v 1.2 2005-05-01 07:17:47 adam Exp $
+/* $Id: xslt2.c,v 1.5 2005-09-13 11:51:11 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
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);
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_select_database(zh, "Default");
zebra_init(zh);
- zebra_set_resource(zh, "recordType", "xslt1.marc1.xsl");
+ zebra_set_resource(zh, "recordType", "xslt.marcschema-col.xml");
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
f = fopen(path, "rb");
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
f = fopen(path, "rb");