X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fxslt%2Fdom1.c;h=bac6ecd764d19523fc722d4c9535b77c811e20e5;hb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;hp=10c48349f04810a84390533c07eca23f53a90131;hpb=26325895a68fa527a1cd26ea2ccbe80b51db44bd;p=idzebra-moved-to-github.git diff --git a/test/xslt/dom1.c b/test/xslt/dom1.c index 10c4834..bac6ecd 100644 --- a/test/xslt/dom1.c +++ b/test/xslt/dom1.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1995-2008 Index Data + 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 @@ -80,10 +80,9 @@ void tst(int argc, char **argv) zh, "snippet", yaz_oid_recsyn_xml, "\n" "\n" - " " - "\n" + " \n" " How to program a computer\n" - "\n" + "\n" " How to program a computer\n" "\n"), ZEBRA_OK); @@ -127,14 +126,17 @@ void tst(int argc, char **argv) YAZ_CHECK(tl_query(zh, "@attr 1=title b", 1)); zh = index_some(zs, "dom.gutenberg.xml", "gutenberg-sample.xml"); - YAZ_CHECK(tl_query(zh, "selected", 1)); + YAZ_CHECK(tl_query(zh, "oscar", 1)); YAZ_CHECK_EQ(tl_fetch_first_compare( zh, "zebra::snippet", yaz_oid_recsyn_xml, "\n" - " etext/1338\n" - " Project Gutenberg\n" - " Selected Prose of Oscar Wilde\n" + " " + "Selected Prose of Oscar Wilde" + "\n" + " " + "Wilde, Oscar, 1854-1900" + "\n" ""), ZEBRA_OK);