X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fxslt%2Fdom1.c;h=29e8f92cfb8eca6bd4bc7ac5db47f68a85110a42;hp=957b83ab6098a65848d5d79610c381fe48f8db9e;hb=6a0f9234f945bc4956e2bcef75f715661a9eba9a;hpb=d6de35596bb0dc4410fc59cc5e1abc18b911fc0e diff --git a/test/xslt/dom1.c b/test/xslt/dom1.c index 957b83a..29e8f92 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 @@ -126,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); @@ -148,6 +151,7 @@ TL_MAIN /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab