X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fxslt%2Fdom1.c;h=e22dbfd1e4c2cb1696eed08e50e48dc4fe4ecd0a;hb=4f0ac986e5526dfaf91564f7e7d03b915afe8f07;hp=d68ec7ae5fd19b69e29db2ef97314752ecce4656;hpb=55d680f049f456e25109a73445806b0b108b4ee4;p=idzebra-moved-to-github.git
diff --git a/test/xslt/dom1.c b/test/xslt/dom1.c
index d68ec7a..e22dbfd 100644
--- a/test/xslt/dom1.c
+++ b/test/xslt/dom1.c
@@ -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);