X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstsoap1.c;h=6d6654f0d0bcdb34dd6c884b1d2be7d8d823213b;hb=8526300b58a12ecbb6e48b320839e28e4460a925;hp=7da696782942b125b0e969292fad1337856f6f64;hpb=dcc6cbe2a1c328c1d59f7ff350e7cd9e8a3b5a85;p=yaz-moved-to-github.git diff --git a/test/tstsoap1.c b/test/tstsoap1.c index 7da6967..6d6654f 100644 --- a/test/tstsoap1.c +++ b/test/tstsoap1.c @@ -1,25 +1,23 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: tstsoap1.c,v 1.6 2006-01-30 16:58:06 adam Exp $ */ #include -#if HAVE_XML2 +#if YAZ_HAVE_XML2 #include #endif #include -void tst() +void tst(void) { -#if HAVE_XML2 +#if YAZ_HAVE_XML2 xmlChar *buf_out; int len_out; xmlDocPtr doc; xmlNodePtr top; #if 0 - const char *val = "jordbær"; /* makes xmlDocDumpMemory hang .. */ + const char *val = "jordb" "\xe6" "r"; /* makes xmlDocDumpMemory hang .. */ #else const char *val = "jordbaer"; /* OK */ #endif @@ -38,14 +36,14 @@ void tst() #endif -/* HAVE_XML2 */ +/* YAZ_HAVE_XML2 */ #endif } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); -#if HAVE_XML2 +#if YAZ_HAVE_XML2 LIBXML_TEST_VERSION; #endif tst();