X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=test%2Ftstsoap2.c;h=30e613e0df2992341232884e894943a5b3708756;hb=10927d911232ff5b224587f32aa68b8506777905;hp=b424ebce633207d731708d1d91bcbc1cc038f0d0;hpb=06ae818deffa84ec4bc1308051ef411845dd4ce5;p=yaz-moved-to-github.git diff --git a/test/tstsoap2.c b/test/tstsoap2.c index b424ebc..30e613e 100644 --- a/test/tstsoap2.c +++ b/test/tstsoap2.c @@ -1,18 +1,18 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tstsoap2.c,v 1.3 2006-01-29 21:59:13 adam Exp $ + * $Id: tstsoap2.c,v 1.6 2007-01-03 08:42:16 adam Exp $ */ #include -#if HAVE_XML2 -#include - #include #include #include +#if YAZ_HAVE_XML2 +#include + static void tst_srw(void) { const char *charset = 0; @@ -31,7 +31,7 @@ static void tst_srw(void) YAZ_CHECK(sr); YAZ_CHECK(p); #if 0 - sr->u.request->query.cql = "jordbær"; + sr->u.request->query.cql = "jordb" "\xe6" "r"; #else sr->u.request->query.cql = "jordbaer"; #endif @@ -52,7 +52,7 @@ static void tst_srw(void) int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); -#if HAVE_XML2 +#if YAZ_HAVE_XML2 LIBXML_TEST_VERSION; tst_srw(); #endif