X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fxslt%2Fxslt2.c;h=7f7a2e74dfcdb243c8382e9c7e160ba4b55ef1ac;hb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;hp=d71ca82123e498a5eecf25cb1a5831dd5e061f0b;hpb=4494cb5dd6d79d72f15c41af16833cc373044a36;p=idzebra-moved-to-github.git diff --git a/test/xslt/xslt2.c b/test/xslt/xslt2.c index d71ca82..7f7a2e7 100644 --- a/test/xslt/xslt2.c +++ b/test/xslt/xslt2.c @@ -1,8 +1,5 @@ -/* $Id: xslt2.c,v 1.10 2006-05-31 16:11:58 marc Exp $ - Copyright (C) 1995-2005 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2009 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -15,9 +12,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include @@ -71,7 +68,7 @@ static void tst(int argc, char **argv) YAZ_CHECK(tl_init_data(zh, records_array)); /* only get hits from first record .. */ - YAZ_CHECK(tl_query(zh, "@attr 1=title computer", 1)); + YAZ_CHECK(tl_query(zh, "@attr 1=title computer", 3)); YAZ_CHECK(tl_query(zh, "@attr 1=control 11224466", 1)); YAZ_CHECK(tl_query_x(zh, "@attr 1=titl computer", 0, 114));